home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-01-14 | 580.1 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Jan 13 11:21:05 1992, modified Tue Jan 14 12:07:11 1992, creator 'HLX2', type 'ONLN', 581575 bytes "Imaging" , at 0x8e047 12279 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 49 6d 61 67 69 6e | 67 00 00 00 00 00 00 00 |..Imagin|g.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 08 df c7 00 | 00 2f f7 a5 97 6c f1 a5 |........|./...l..|
|00000060| 98 c9 3f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..?.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 62 a3 00 00 |........|....b...|
|00000080| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|00000090| 3a 0d 49 6d 61 67 69 6e | 67 0d f0 09 41 70 70 6c |:.Imagin|g...Appl|
|000000a0| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|000000b0| 20 0d a9 20 31 39 39 31 | 2c 20 41 70 70 6c 65 20 | .. 1991|, Apple |
|000000c0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 41 |Computer|, Inc..A|
|000000d0| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|000000e0| 65 64 2e 0d 50 72 69 6e | 74 65 64 20 69 6e 20 74 |ed..Prin|ted in t|
|000000f0| 68 65 20 55 6e 69 74 65 | 64 20 53 74 61 74 65 73 |he Unite|d States|
|00000100| 20 6f 66 20 0d 41 6d 65 | 72 69 63 61 2e 0d 54 68 | of .Ame|rica..Th|
|00000110| 65 20 41 70 70 6c 65 20 | 6c 6f 67 6f 20 69 73 20 |e Apple |logo is |
|00000120| 61 20 72 65 67 69 73 74 | 65 72 65 64 20 74 72 61 |a regist|ered tra|
|00000130| 64 65 6d 61 72 6b 20 6f | 66 20 41 70 70 6c 65 20 |demark o|f Apple |
|00000140| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 20 55 |Computer|, Inc. U|
|00000150| 73 65 20 6f 66 20 74 68 | 65 20 d2 6b 65 79 62 6f |se of th|e .keybo|
|00000160| 61 72 64 d3 20 0d 41 70 | 70 6c 65 20 6c 6f 67 6f |ard. .Ap|ple logo|
|00000170| 20 28 4f 70 74 69 6f 6e | 2d 53 68 69 66 74 2d 4b | (Option|-Shift-K|
|00000180| 29 20 66 6f 72 20 63 6f | 6d 6d 65 72 63 69 61 6c |) for co|mmercial|
|00000190| 20 70 75 72 70 6f 73 65 | 73 20 77 69 74 68 6f 75 | purpose|s withou|
|000001a0| 74 20 74 68 65 20 70 72 | 69 6f 72 20 77 72 69 74 |t the pr|ior writ|
|000001b0| 74 65 6e 20 63 6f 6e 73 | 65 6e 74 20 6f 66 20 0d |ten cons|ent of .|
|000001c0| 41 70 70 6c 65 20 6d 61 | 79 20 63 6f 6e 73 74 69 |Apple ma|y consti|
|000001d0| 74 75 74 65 20 74 72 61 | 64 65 6d 61 72 6b 20 69 |tute tra|demark i|
|000001e0| 6e 66 72 69 6e 67 65 6d | 65 6e 74 20 61 6e 64 20 |nfringem|ent and |
|000001f0| 75 6e 66 61 69 72 20 63 | 6f 6d 70 65 2d 74 69 74 |unfair c|ompe-tit|
|00000200| 69 6f 6e 20 69 6e 20 76 | 69 6f 6c 61 74 69 6f 6e |ion in v|iolation|
|00000210| 20 6f 66 20 66 65 64 65 | 72 61 6c 20 61 6e 64 20 | of fede|ral and |
|00000220| 73 74 61 74 65 20 6c 61 | 77 73 2e 0d 41 70 70 6c |state la|ws..Appl|
|00000230| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|00000240| 20 0d 32 30 35 32 35 20 | 4d 61 72 69 61 6e 69 20 | .20525 |Mariani |
|00000250| 41 76 65 6e 75 65 20 20 | 0d 43 75 70 65 72 74 69 |Avenue |.Cuperti|
|00000260| 6e 6f 2c 20 43 41 20 20 | 39 35 30 31 34 2d 36 32 |no, CA |95014-62|
|00000270| 39 39 0d 34 30 38 2d 39 | 39 36 2d 31 30 31 30 20 |99.408-9|96-1010 |
|00000280| 20 0d 41 70 70 6c 65 2c | 20 74 68 65 20 41 70 70 | .Apple,| the App|
|00000290| 6c 65 20 6c 6f 67 6f 2c | 20 41 50 44 41 2c 20 41 |le logo,| APDA, A|
|000002a0| 70 70 6c 65 4c 69 6e 6b | 2c 20 41 70 70 6c 65 53 |ppleLink|, AppleS|
|000002b0| 68 61 72 65 2c 20 0d 41 | 70 70 6c 65 54 61 6c 6b |hare, .A|ppleTalk|
|000002c0| 2c 20 41 70 70 6c 65 20 | 49 49 47 53 2c 20 41 2f |, Apple |IIGS, A/|
|000002d0| 55 58 2c 20 45 74 68 65 | 72 54 61 6c 6b 2c 20 48 |UX, Ethe|rTalk, H|
|000002e0| 79 70 65 72 43 61 72 64 | 2c 20 48 79 70 65 72 2d |yperCard|, Hyper-|
|000002f0| 54 61 6c 6b 2c 20 49 6d | 61 67 65 57 72 69 74 65 |Talk, Im|ageWrite|
|00000300| 72 2c 20 4c 61 73 65 72 | 57 72 69 74 65 72 2c 20 |r, Laser|Writer, |
|00000310| 4c 6f 63 61 6c 54 61 6c | 6b 2c 20 4d 61 63 2c 20 |LocalTal|k, Mac, |
|00000320| 4d 61 63 69 6e 74 6f 73 | 68 2c 20 4d 50 57 2c 20 |Macintos|h, MPW, |
|00000330| 4d 75 6c 74 69 46 69 6e | 64 65 72 2c 20 53 41 4e |MultiFin|der, SAN|
|00000340| 45 2c 20 61 6e 64 20 54 | 6f 6b 65 6e 54 61 6c 6b |E, and T|okenTalk|
|00000350| 20 61 72 65 20 72 65 67 | 69 73 74 65 72 65 64 20 | are reg|istered |
|00000360| 74 72 61 64 65 2d 6d 61 | 72 6b 73 20 6f 66 20 41 |trade-ma|rks of A|
|00000370| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 20 49 |pple Com|puter, I|
|00000380| 6e 63 2e 0d 41 70 70 6c | 65 20 44 65 73 6b 74 6f |nc..Appl|e Deskto|
|00000390| 70 20 42 75 73 2c 20 42 | 61 6c 6c 6f 6f 6e 20 48 |p Bus, B|alloon H|
|000003a0| 65 6c 70 2c 20 46 69 6e | 64 65 72 2c 20 4b 61 6e |elp, Fin|der, Kan|
|000003b0| 6a 69 54 61 6c 6b 2c 20 | 4d 6f 6f 66 2c 20 51 75 |jiTalk, |Moof, Qu|
|000003c0| 69 63 6b 44 72 61 77 2c | 20 52 65 73 45 64 69 74 |ickDraw,| ResEdit|
|000003d0| 2c 20 54 72 75 65 54 79 | 70 65 2c 20 61 6e 64 20 |, TrueTy|pe, and |
|000003e0| 5a 68 6f 6e 67 2d 57 65 | 6e 20 54 61 6c 6b 20 61 |Zhong-We|n Talk a|
|000003f0| 72 65 20 74 72 61 64 65 | 2d 6d 61 72 6b 73 20 6f |re trade|-marks o|
|00000400| 66 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |f Apple |Computer|
|00000410| 2c 20 49 6e 63 2e 0d 48 | 65 6c 76 65 74 69 63 61 |, Inc..H|elvetica|
|00000420| 20 61 6e 64 20 54 69 6d | 65 73 20 61 72 65 20 0d | and Tim|es are .|
|00000430| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000440| 6d 61 72 6b 73 20 6f 66 | 20 0d 4c 69 6e 6f 74 79 |marks of| .Linoty|
|00000450| 70 65 20 43 6f 6d 70 61 | 6e 79 2e 0d 49 54 43 20 |pe Compa|ny..ITC |
|00000460| 5a 61 70 66 20 44 69 6e | 67 62 61 74 73 20 69 73 |Zapf Din|gbats is|
|00000470| 20 61 20 72 65 67 69 73 | 74 65 72 65 64 20 74 72 | a regis|tered tr|
|00000480| 61 64 65 6d 61 72 6b 20 | 6f 66 20 49 6e 74 65 72 |ademark |of Inter|
|00000490| 6e 61 74 69 6f 6e 61 6c | 20 54 79 70 65 66 61 63 |national| Typefac|
|000004a0| 65 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0d 4d |e Corpor|ation..M|
|000004b0| 61 63 50 61 69 6e 74 20 | 69 73 20 61 20 72 65 67 |acPaint |is a reg|
|000004c0| 69 73 74 65 72 65 64 20 | 74 72 61 64 65 2d 6d 61 |istered |trade-ma|
|000004d0| 72 6b 20 6f 66 20 43 6c | 61 72 69 73 20 43 6f 72 |rk of Cl|aris Cor|
|000004e0| 70 6f 72 61 74 69 6f 6e | 2e 0d 4e 75 42 75 73 20 |poration|..NuBus |
|000004f0| 69 73 20 61 20 74 72 61 | 64 65 6d 61 72 6b 20 6f |is a tra|demark o|
|00000500| 66 20 54 65 78 61 73 20 | 0d 49 6e 73 74 72 75 6d |f Texas |.Instrum|
|00000510| 65 6e 74 73 2e 0d 50 6f | 73 74 53 63 72 69 70 74 |ents..Po|stScript|
|00000520| 20 69 73 20 61 20 72 65 | 67 69 73 74 65 72 65 64 | is a re|gistered|
|00000530| 20 74 72 61 64 65 2d 6d | 61 72 6b 2c 20 61 6e 64 | trade-m|ark, and|
|00000540| 20 49 6c 6c 75 73 74 72 | 61 74 6f 72 20 69 73 20 | Illustr|ator is |
|00000550| 61 20 0d 74 72 61 64 65 | 6d 61 72 6b 2c 20 6f 66 |a .trade|mark, of|
|00000560| 20 41 64 6f 62 65 20 53 | 79 73 74 65 6d 73 20 0d | Adobe S|ystems .|
|00000570| 49 6e 63 6f 72 70 6f 72 | 61 74 65 64 2e 0d 53 6f |Incorpor|ated..So|
|00000580| 6e 79 20 69 73 20 61 20 | 72 65 67 69 73 74 65 72 |ny is a |register|
|00000590| 65 64 20 74 72 61 64 65 | 6d 61 72 6b 20 6f 66 20 |ed trade|mark of |
|000005a0| 53 6f 6e 79 20 43 6f 72 | 70 6f 72 61 74 69 6f 6e |Sony Cor|poration|
|000005b0| 2e 0d 55 4e 49 58 20 69 | 73 20 61 20 72 65 67 69 |..UNIX i|s a regi|
|000005c0| 73 74 65 72 65 64 20 74 | 72 61 64 65 6d 61 72 6b |stered t|rademark|
|000005d0| 20 6f 66 20 55 4e 49 58 | 20 53 79 73 74 65 6d 20 | of UNIX| System |
|000005e0| 4c 61 62 6f 72 61 74 6f | 72 69 65 73 2c 20 49 6e |Laborato|ries, In|
|000005f0| 63 2e 0d 53 69 6d 75 6c | 74 61 6e 65 6f 75 73 6c |c..Simul|taneousl|
|00000600| 79 20 70 75 62 6c 69 73 | 68 65 64 20 69 6e 20 74 |y publis|hed in t|
|00000610| 68 65 20 55 6e 69 74 65 | 64 20 53 74 61 74 65 73 |he Unite|d States|
|00000620| 20 61 6e 64 20 43 61 6e | 61 64 61 2e 0d 4c 69 6d | and Can|ada..Lim|
|00000630| 69 74 65 64 20 57 61 72 | 72 61 6e 74 79 20 6f 6e |ited War|ranty on|
|00000640| 20 4d 65 64 69 61 20 61 | 6e 64 20 52 65 70 6c 61 | Media a|nd Repla|
|00000650| 63 65 6d 65 6e 74 0d 45 | 76 65 6e 20 74 68 6f 75 |cement.E|ven thou|
|00000660| 67 68 20 41 70 70 6c 65 | 20 68 61 73 20 0d 72 65 |gh Apple| has .re|
|00000670| 76 69 65 77 65 64 20 74 | 68 69 73 20 6d 61 6e 75 |viewed t|his manu|
|00000680| 61 6c 2c 20 41 50 50 4c | 45 20 4d 41 4b 45 53 20 |al, APPL|E MAKES |
|00000690| 4e 4f 20 57 41 52 52 41 | 4e 54 59 20 4f 52 20 52 |NO WARRA|NTY OR R|
|000006a0| 45 50 52 45 53 45 4e 54 | 41 54 49 4f 4e 2c 20 45 |EPRESENT|ATION, E|
|000006b0| 49 54 48 45 52 20 45 58 | 50 52 45 53 53 20 4f 52 |ITHER EX|PRESS OR|
|000006c0| 20 49 4d 50 4c 49 45 44 | 2c 20 57 49 54 48 20 52 | IMPLIED|, WITH R|
|000006d0| 45 53 50 45 43 54 20 54 | 4f 20 54 48 49 53 20 4d |ESPECT T|O THIS M|
|000006e0| 41 4e 55 41 4c 2c 20 49 | 54 53 20 51 55 41 4c 49 |ANUAL, I|TS QUALI|
|000006f0| 54 59 2c 20 41 43 43 55 | 52 41 43 59 2c 20 4d 45 |TY, ACCU|RACY, ME|
|00000700| 52 43 48 41 4e 54 2d 41 | 42 49 4c 49 54 59 2c 20 |RCHANT-A|BILITY, |
|00000710| 4f 52 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |OR FITNE|SS FOR A|
|00000720| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|00000730| 4f 53 45 2e 20 41 53 20 | 41 20 52 45 53 55 4c 54 |OSE. AS |A RESULT|
|00000740| 2c 20 54 48 49 53 20 0d | 4d 41 4e 55 41 4c 20 49 |, THIS .|MANUAL I|
|00000750| 53 20 53 4f 4c 44 20 d2 | 41 53 20 0d 49 53 2c d3 |S SOLD .|AS .IS,.|
|00000760| 20 41 4e 44 20 59 4f 55 | 2c 20 54 48 45 20 50 55 | AND YOU|, THE PU|
|00000770| 52 2d 43 48 41 53 45 52 | 2c 20 41 52 45 20 41 53 |R-CHASER|, ARE AS|
|00000780| 53 55 4d 49 4e 47 20 54 | 48 45 20 45 4e 54 49 52 |SUMING T|HE ENTIR|
|00000790| 45 20 52 49 53 4b 20 41 | 53 20 54 4f 20 49 54 53 |E RISK A|S TO ITS|
|000007a0| 20 51 55 41 4c 49 54 59 | 20 41 4e 44 20 0d 41 43 | QUALITY| AND .AC|
|000007b0| 43 55 52 41 43 59 2e 20 | 20 0d 49 4e 20 4e 4f 20 |CURACY. | .IN NO |
|000007c0| 45 56 45 4e 54 20 57 49 | 4c 4c 20 41 50 50 4c 45 |EVENT WI|LL APPLE|
|000007d0| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 44 | BE LIAB|LE FOR D|
|000007e0| 49 52 45 43 54 2c 20 0d | 49 4e 44 49 52 45 43 54 |IRECT, .|INDIRECT|
|000007f0| 2c 20 53 50 45 43 49 41 | 4c 2c 20 0d 49 4e 43 49 |, SPECIA|L, .INCI|
|00000800| 44 45 4e 54 41 4c 2c 20 | 4f 52 20 43 4f 4e 53 45 |DENTAL, |OR CONSE|
|00000810| 2d 51 55 45 4e 54 49 41 | 4c 20 44 41 4d 41 47 45 |-QUENTIA|L DAMAGE|
|00000820| 53 20 0d 52 45 53 55 4c | 54 49 4e 47 20 46 52 4f |S .RESUL|TING FRO|
|00000830| 4d 20 41 4e 59 20 0d 44 | 45 46 45 43 54 20 4f 52 |M ANY .D|EFECT OR|
|00000840| 20 49 4e 41 43 43 55 52 | 41 43 59 20 49 4e 20 54 | INACCUR|ACY IN T|
|00000850| 48 49 53 20 4d 41 4e 55 | 41 4c 2c 20 65 76 65 6e |HIS MANU|AL, even|
|00000860| 20 69 66 20 61 64 76 69 | 73 65 64 20 6f 66 20 74 | if advi|sed of t|
|00000870| 68 65 20 70 6f 73 73 69 | 62 69 6c 69 74 79 20 6f |he possi|bility o|
|00000880| 66 20 73 75 63 68 20 64 | 61 6d 61 67 65 73 2e 20 |f such d|amages. |
|00000890| 20 0d 54 48 45 20 57 41 | 52 52 41 4e 54 59 20 41 | .THE WA|RRANTY A|
|000008a0| 4e 44 20 52 45 4d 45 44 | 49 45 53 20 53 45 54 20 |ND REMED|IES SET |
|000008b0| 46 4f 52 54 48 20 41 42 | 4f 56 45 20 41 52 45 20 |FORTH AB|OVE ARE |
|000008c0| 45 58 43 4c 55 53 49 56 | 45 20 41 4e 44 20 49 4e |EXCLUSIV|E AND IN|
|000008d0| 20 4c 49 45 55 20 4f 46 | 20 41 4c 4c 20 0d 4f 54 | LIEU OF| ALL .OT|
|000008e0| 48 45 52 53 2c 20 4f 52 | 41 4c 20 4f 52 20 0d 57 |HERS, OR|AL OR .W|
|000008f0| 52 49 54 54 45 4e 2c 20 | 45 58 50 52 45 53 53 20 |RITTEN, |EXPRESS |
|00000900| 4f 52 20 0d 49 4d 50 4c | 49 45 44 2e 20 4e 6f 20 |OR .IMPL|IED. No |
|00000910| 41 70 70 6c 65 20 64 65 | 61 6c 65 72 2c 20 61 67 |Apple de|aler, ag|
|00000920| 65 6e 74 2c 20 6f 72 20 | 65 6d 70 6c 6f 79 65 65 |ent, or |employee|
|00000930| 20 69 73 20 0d 61 75 74 | 68 6f 72 69 7a 65 64 20 | is .aut|horized |
|00000940| 74 6f 20 6d 61 6b 65 20 | 61 6e 79 20 0d 6d 6f 64 |to make |any .mod|
|00000950| 69 66 69 63 61 74 69 6f | 6e 2c 20 65 78 74 65 6e |ificatio|n, exten|
|00000960| 73 69 6f 6e 2c 20 6f 72 | 20 0d 61 64 64 69 74 69 |sion, or| .additi|
|00000970| 6f 6e 20 74 6f 20 74 68 | 69 73 20 77 61 72 72 61 |on to th|is warra|
|00000980| 6e 74 79 2e 20 20 0d 53 | 6f 6d 65 20 73 74 61 74 |nty. .S|ome stat|
|00000990| 65 73 20 64 6f 20 6e 6f | 74 20 61 6c 6c 6f 77 20 |es do no|t allow |
|000009a0| 74 68 65 20 65 78 63 6c | 75 73 69 6f 6e 20 6f 72 |the excl|usion or|
|000009b0| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 20 6f 66 20 0d | limitat|ion of .|
|000009c0| 69 6d 70 6c 69 65 64 20 | 77 61 72 72 61 6e 74 69 |implied |warranti|
|000009d0| 65 73 20 6f 72 20 6c 69 | 61 62 69 6c 69 74 79 20 |es or li|ability |
|000009e0| 66 6f 72 20 69 6e 63 69 | 64 65 6e 74 61 6c 20 6f |for inci|dental o|
|000009f0| 72 20 63 6f 6e 73 65 71 | 75 65 6e 74 69 61 6c 20 |r conseq|uential |
|00000a00| 64 61 6d 61 67 65 73 2c | 20 73 6f 20 74 68 65 20 |damages,| so the |
|00000a10| 61 62 6f 76 65 20 0d 6c | 69 6d 69 74 61 74 69 6f |above .l|imitatio|
|00000a20| 6e 20 6f 72 20 65 78 63 | 6c 75 73 69 6f 6e 20 6d |n or exc|lusion m|
|00000a30| 61 79 20 6e 6f 74 20 61 | 70 70 6c 79 20 74 6f 20 |ay not a|pply to |
|00000a40| 79 6f 75 2e 20 54 68 69 | 73 20 77 61 72 72 61 6e |you. Thi|s warran|
|00000a50| 74 79 20 67 69 76 65 73 | 20 79 6f 75 20 73 70 65 |ty gives| you spe|
|00000a60| 63 69 66 69 63 20 6c 65 | 67 61 6c 20 72 69 67 68 |cific le|gal righ|
|00000a70| 74 73 2c 20 61 6e 64 20 | 79 6f 75 20 6d 61 79 20 |ts, and |you may |
|00000a80| 61 6c 73 6f 20 68 61 76 | 65 20 6f 74 68 65 72 20 |also hav|e other |
|00000a90| 72 69 67 68 74 73 20 77 | 68 69 63 68 20 76 61 72 |rights w|hich var|
|00000aa0| 79 20 66 72 6f 6d 20 73 | 74 61 74 65 20 74 6f 20 |y from s|tate to |
|00000ab0| 73 74 61 74 65 2e 0d 54 | 68 65 20 50 72 69 6e 74 |state..T|he Print|
|00000ac0| 69 6e 67 20 4d 61 6e 61 | 67 65 72 0d 49 6e 74 72 |ing Mana|ger.Intr|
|00000ad0| 6f 64 75 63 74 69 6f 6e | 20 74 6f 20 50 72 69 6e |oduction| to Prin|
|00000ae0| 74 69 6e 67 14 14 32 2d | 33 0d 4d 65 74 68 6f 64 |ting..2-|3.Method|
|00000af0| 73 20 61 6e 64 20 51 75 | 61 6c 69 74 69 65 73 20 |s and Qu|alities |
|00000b00| 6f 66 20 50 72 69 6e 74 | 69 6e 67 14 14 32 2d 34 |of Print|ing..2-4|
|00000b10| 0d 50 61 67 65 20 61 6e | 64 20 50 61 70 65 72 20 |.Page an|d Paper |
|00000b20| 52 65 63 74 61 6e 67 6c | 65 73 14 14 32 2d 34 0d |Rectangl|es..2-4.|
|00000b30| 50 72 69 6e 74 65 72 20 | 52 65 73 6f 6c 75 74 69 |Printer |Resoluti|
|00000b40| 6f 6e 14 14 32 2d 35 0d | 41 62 6f 75 74 20 74 68 |on..2-5.|About th|
|00000b50| 65 20 50 72 69 6e 74 69 | 6e 67 20 4d 61 6e 61 67 |e Printi|ng Manag|
|00000b60| 65 72 14 14 32 2d 36 0d | 54 68 65 20 55 73 65 72 |er..2-6.|The User|
|00000b70| d5 73 20 46 6f 72 6d 61 | 74 74 69 6e 67 20 49 6e |.s Forma|tting In|
|00000b80| 70 75 74 14 14 32 2d 36 | 0d 54 68 65 20 50 72 69 |put..2-6|.The Pri|
|00000b90| 6e 74 20 52 65 63 6f 72 | 64 20 61 6e 64 20 74 68 |nt Recor|d and th|
|00000ba0| 65 20 50 72 69 6e 74 69 | 6e 67 20 4c 6f 6f 70 14 |e Printi|ng Loop.|
|00000bb0| 14 32 2d 37 0d 54 68 65 | 20 49 64 6c 65 20 50 72 |.2-7.The| Idle Pr|
|00000bc0| 6f 63 65 64 75 72 65 14 | 14 32 2d 38 0d 55 73 69 |ocedure.|.2-8.Usi|
|00000bd0| 6e 67 20 74 68 65 20 50 | 72 69 6e 74 69 6e 67 20 |ng the P|rinting |
|00000be0| 4d 61 6e 61 67 65 72 14 | 14 32 2d 39 0d 43 72 65 |Manager.|.2-9.Cre|
|00000bf0| 61 74 69 6e 67 20 61 6e | 64 20 55 73 69 6e 67 20 |ating an|d Using |
|00000c00| 74 68 65 20 50 72 69 6e | 74 20 52 65 63 6f 72 64 |the Prin|t Record|
|00000c10| 14 14 32 2d 39 0d 50 72 | 69 6e 74 69 6e 67 20 61 |..2-9.Pr|inting a|
|00000c20| 20 44 6f 63 75 6d 65 6e | 74 14 14 32 2d 31 30 0d | Documen|t..2-10.|
|00000c30| 50 72 69 6e 74 69 6e 67 | 20 46 72 6f 6d 20 74 68 |Printing| From th|
|00000c40| 65 20 46 69 6e 64 65 72 | 14 14 32 2d 31 35 0d 50 |e Finder|..2-15.P|
|00000c50| 72 69 6e 74 69 6e 67 20 | 45 61 63 68 20 50 61 67 |rinting |Each Pag|
|00000c60| 65 20 61 73 20 61 20 53 | 65 70 61 72 61 74 65 20 |e as a S|eparate |
|00000c70| 44 6f 63 75 6d 65 6e 74 | 14 14 32 2d 31 35 0d 50 |Document|..2-15.P|
|00000c80| 72 69 6e 74 69 6e 67 20 | 46 72 6f 6d 20 74 68 65 |rinting |From the|
|00000c90| 20 4c 6f 77 2d 4c 65 76 | 65 6c 20 49 6e 74 65 72 | Low-Lev|el Inter|
|00000ca0| 66 61 63 65 14 14 32 2d | 31 36 0d 43 68 65 63 6b |face..2-|16.Check|
|00000cb0| 69 6e 67 20 66 6f 72 20 | 50 72 47 65 6e 65 72 61 |ing for |PrGenera|
|00000cc0| 6c 14 14 32 2d 31 36 0d | 44 65 74 65 72 6d 69 6e |l..2-16.|Determin|
|00000cd0| 69 6e 67 20 74 68 65 20 | 52 65 73 6f 6c 75 74 69 |ing the |Resoluti|
|00000ce0| 6f 6e 20 6f 66 20 74 68 | 65 20 43 75 72 72 65 6e |on of th|e Curren|
|00000cf0| 74 20 50 72 69 6e 74 65 | 72 14 14 32 2d 31 37 0d |t Printe|r..2-17.|
|00000d00| 44 65 74 65 72 6d 69 6e | 69 6e 67 20 50 61 67 65 |Determin|ing Page|
|00000d10| 20 4f 72 69 65 6e 74 61 | 74 69 6f 6e 14 14 32 2d | Orienta|tion..2-|
|00000d20| 32 30 0d 43 68 6f 6f 73 | 69 6e 67 20 44 72 61 66 |20.Choos|ing Draf|
|00000d30| 74 2d 51 75 61 6c 69 74 | 79 20 50 72 69 6e 74 69 |t-Qualit|y Printi|
|00000d40| 6e 67 14 14 32 2d 32 31 | 0d 41 6c 74 65 72 69 6e |ng..2-21|.Alterin|
|00000d50| 67 20 74 68 65 20 53 74 | 79 6c 65 20 6f 72 20 4a |g the St|yle or J|
|00000d60| 6f 62 20 44 69 61 6c 6f | 67 20 42 6f 78 14 14 32 |ob Dialo|g Box..2|
|00000d70| 2d 32 33 0d 57 72 69 74 | 69 6e 67 20 61 6e 20 49 |-23.Writ|ing an I|
|00000d80| 64 6c 65 20 50 72 6f 63 | 65 64 75 72 65 14 14 32 |dle Proc|edure..2|
|00000d90| 2d 32 35 0d 4f 70 74 69 | 6d 69 7a 69 6e 67 20 50 |-25.Opti|mizing P|
|00000da0| 72 69 6e 74 69 6e 67 14 | 14 32 2d 32 36 0d 4f 70 |rinting.|.2-26.Op|
|00000db0| 74 69 6d 69 7a 69 6e 67 | 20 50 6f 73 74 53 63 72 |timizing| PostScr|
|00000dc0| 69 70 74 20 50 72 69 6e | 74 69 6e 67 14 14 32 2d |ipt Prin|ting..2-|
|00000dd0| 32 36 0d 50 72 6f 76 69 | 64 69 6e 67 20 4e 61 6d |26.Provi|ding Nam|
|00000de0| 65 73 20 6f 66 20 44 6f | 63 75 6d 65 6e 74 73 20 |es of Do|cuments |
|00000df0| 42 65 69 6e 67 20 50 72 | 69 6e 74 65 64 14 14 32 |Being Pr|inted..2|
|00000e00| 2d 32 37 0d 43 61 6e 63 | 65 6c 69 6e 67 20 6f 72 |-27.Canc|eling or|
|00000e10| 20 50 61 75 73 69 6e 67 | 20 74 68 65 20 50 72 69 | Pausing| the Pri|
|00000e20| 6e 74 69 6e 67 20 50 72 | 6f 63 65 73 73 14 14 32 |nting Pr|ocess..2|
|00000e30| 2d 32 38 0d 48 61 6e 64 | 6c 69 6e 67 20 50 72 69 |-28.Hand|ling Pri|
|00000e40| 6e 74 69 6e 67 20 45 72 | 72 6f 72 73 14 14 32 2d |nting Er|rors..2-|
|00000e50| 32 38 0d 55 73 69 6e 67 | 20 41 6c 65 72 74 20 6f |28.Using| Alert o|
|00000e60| 72 20 44 69 61 6c 6f 67 | 20 42 6f 78 65 73 20 74 |r Dialog| Boxes t|
|00000e70| 6f 20 52 65 70 6f 72 74 | 20 45 72 72 6f 72 73 14 |o Report| Errors.|
|00000e80| 14 32 2d 32 38 0d 49 6e | 74 65 72 70 72 65 74 69 |.2-28.In|terpreti|
|00000e90| 6e 67 20 50 72 47 65 6e | 65 72 61 6c 20 45 72 72 |ng PrGen|eral Err|
|00000ea0| 6f 72 73 14 14 32 2d 32 | 39 0d 52 65 66 65 72 65 |ors..2-2|9.Refere|
|00000eb0| 6e 63 65 14 14 32 2d 32 | 39 0d 44 61 74 61 20 53 |nce..2-2|9.Data S|
|00000ec0| 74 72 75 63 74 75 72 65 | 73 14 14 32 2d 32 39 0d |tructure|s..2-29.|
|00000ed0| 54 50 72 69 6e 74 20 20 | 14 14 32 2d 33 30 0d 54 |TPrint |..2-30.T|
|00000ee0| 50 72 49 6e 66 6f 20 14 | 14 32 2d 33 31 0d 54 50 |PrInfo .|.2-31.TP|
|00000ef0| 72 4a 6f 62 20 14 14 32 | 2d 33 31 0d 54 50 72 53 |rJob ..2|-31.TPrS|
|00000f00| 74 6c 20 14 14 32 2d 33 | 33 0d 54 50 72 53 74 61 |tl ..2-3|3.TPrSta|
|00000f10| 74 75 73 20 14 14 32 2d | 33 33 0d 54 50 72 50 6f |tus ..2-|33.TPrPo|
|00000f20| 72 74 14 14 32 2d 33 34 | 0d 54 47 6e 6c 44 61 74 |rt..2-34|.TGnlDat|
|00000f30| 61 20 14 14 32 2d 33 35 | 0d 54 47 65 74 52 73 6c |a ..2-35|.TGetRsl|
|00000f40| 42 6c 6b 20 14 14 32 2d | 33 35 0d 54 53 65 74 52 |Blk ..2-|35.TSetR|
|00000f50| 73 6c 42 6c 6b 20 14 14 | 32 2d 33 37 0d 54 44 66 |slBlk ..|2-37.TDf|
|00000f60| 74 42 69 74 73 42 6c 6b | 20 14 14 32 2d 33 38 0d |tBitsBlk| ..2-38.|
|00000f70| 54 47 65 74 52 6f 74 6e | 42 6c 6b 20 14 14 32 2d |TGetRotn|Blk ..2-|
|00000f80| 33 38 0d 54 50 72 44 6c | 67 20 14 14 32 2d 33 39 |38.TPrDl|g ..2-39|
|00000f90| 0d 52 6f 75 74 69 6e 65 | 73 14 14 32 2d 34 30 0d |.Routine|s..2-40.|
|00000fa0| 4f 70 65 6e 69 6e 67 20 | 61 6e 64 20 43 6c 6f 73 |Opening |and Clos|
|00000fb0| 69 6e 67 20 74 68 65 20 | 50 72 69 6e 74 69 6e 67 |ing the |Printing|
|00000fc0| 20 4d 61 6e 61 67 65 72 | 14 14 32 2d 34 30 0d 46 | Manager|..2-40.F|
|00000fd0| 69 6c 6c 69 6e 67 20 61 | 6e 64 20 56 65 72 69 66 |illing a|nd Verif|
|00000fe0| 79 69 6e 67 20 50 72 69 | 6e 74 20 52 65 63 6f 72 |ying Pri|nt Recor|
|00000ff0| 64 73 14 14 32 2d 34 31 | 0d 44 69 73 70 6c 61 79 |ds..2-41|.Display|
|00001000| 69 6e 67 20 61 6e 64 20 | 43 75 73 74 6f 6d 69 7a |ing and |Customiz|
|00001010| 69 6e 67 20 74 68 65 20 | 50 72 69 6e 74 69 6e 67 |ing the |Printing|
|00001020| 20 44 69 61 6c 6f 67 20 | 42 6f 78 65 73 14 14 32 | Dialog |Boxes..2|
|00001030| 2d 34 33 0d 50 72 69 6e | 74 69 6e 67 14 14 32 2d |-43.Prin|ting..2-|
|00001040| 34 37 0d 4f 70 74 69 6d | 69 7a 69 6e 67 20 50 72 |47.Optim|izing Pr|
|00001050| 69 6e 74 69 6e 67 14 14 | 32 2d 35 31 0d 45 72 72 |inting..|2-51.Err|
|00001060| 6f 72 20 48 61 6e 64 6c | 69 6e 67 14 14 32 2d 35 |or Handl|ing..2-5|
|00001070| 34 0d 4c 6f 77 2d 4c 65 | 76 65 6c 20 52 6f 75 74 |4.Low-Le|vel Rout|
|00001080| 69 6e 65 73 14 14 32 2d | 35 36 0d 4c 6f 77 2d 4c |ines..2-|56.Low-L|
|00001090| 65 76 65 6c 20 43 6f 6e | 74 72 6f 6c 20 43 61 6c |evel Con|trol Cal|
|000010a0| 6c 73 14 14 32 2d 35 38 | 0d 53 75 6d 6d 61 72 79 |ls..2-58|.Summary|
|000010b0| 14 14 32 2d 36 31 0d 31 | 54 68 65 20 50 72 69 6e |..2-61.1|The Prin|
|000010c0| 74 69 6e 67 20 4d 61 6e | 61 67 65 72 0d 54 68 69 |ting Man|ager.Thi|
|000010d0| 73 20 63 68 61 70 74 65 | 72 20 64 65 73 63 72 69 |s chapte|r descri|
|000010e0| 62 65 73 20 74 68 65 20 | 74 68 65 6f 72 79 20 62 |bes the |theory b|
|000010f0| 65 68 69 6e 64 20 61 6e | 64 20 69 6d 70 6c 65 6d |ehind an|d implem|
|00001100| 65 6e 74 61 74 69 6f 6e | 20 6f 66 20 70 72 69 6e |entation| of prin|
|00001110| 74 69 6e 67 20 66 72 6f | 6d 20 74 68 65 20 4d 61 |ting fro|m the Ma|
|00001120| 63 69 6e 74 6f 73 68 20 | 63 6f 6d 70 75 74 65 72 |cintosh |computer|
|00001130| 20 74 6f 20 61 6e 79 20 | 70 72 69 6e 74 65 72 3a | to any |printer:|
|00001140| 20 59 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | Your ap|plicatio|
|00001150| 6e 20 64 72 61 77 73 20 | 61 20 70 72 69 6e 74 65 |n draws |a printe|
|00001160| 64 20 64 6f 63 75 6d 65 | 6e 74 20 6f 6e 20 61 20 |d docume|nt on a |
|00001170| 70 72 69 6e 74 65 72 20 | 6a 75 73 74 20 61 73 20 |printer |just as |
|00001180| 69 74 20 64 72 61 77 73 | 20 61 6e 20 69 6d 61 67 |it draws| an imag|
|00001190| 65 20 6f 6e 20 61 20 6d | 6f 6e 69 74 6f 72 20 73 |e on a m|onitor s|
|000011a0| 63 72 65 65 6e 2e 20 54 | 68 69 73 20 6d 61 6e 6e |creen. T|his mann|
|000011b0| 65 72 20 6f 66 20 70 72 | 69 6e 74 69 6e 67 20 61 |er of pr|inting a|
|000011c0| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 75 73 65 |llows yo|u to use|
|000011d0| 20 74 68 65 20 73 61 6d | 65 20 51 75 69 63 6b 44 | the sam|e QuickD|
|000011e0| 72 61 77 20 72 6f 75 74 | 69 6e 65 73 20 66 6f 72 |raw rout|ines for|
|000011f0| 20 70 72 69 6e 74 69 6e | 67 20 61 73 20 66 6f 72 | printin|g as for|
|00001200| 20 73 63 72 65 65 6e 20 | 64 69 73 70 6c 61 79 2e | screen |display.|
|00001210| 20 54 68 65 20 63 68 61 | 70 74 65 72 20 61 6c 73 | The cha|pter als|
|00001220| 6f 20 64 65 73 63 72 69 | 62 65 73 20 77 68 61 74 |o descri|bes what|
|00001230| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00001240| 6e 20 6e 65 65 64 73 20 | 74 6f 20 64 6f 20 74 6f |n needs |to do to|
|00001250| 20 61 6c 6c 6f 77 20 74 | 68 65 20 75 73 65 72 20 | allow t|he user |
|00001260| 74 6f 20 70 72 69 6e 74 | 20 6f 6e 20 61 6e 79 20 |to print| on any |
|00001270| 74 79 70 65 20 6f 66 20 | 70 72 69 6e 74 65 72 20 |type of |printer |
|00001280| 61 6e 64 20 68 6f 77 20 | 79 6f 75 20 63 61 6e 20 |and how |you can |
|00001290| 6f 70 74 69 6d 69 7a 65 | 20 70 72 69 6e 74 69 6e |optimize| printin|
|000012a0| 67 20 6f 6e 20 64 69 66 | 66 65 72 65 6e 74 20 74 |g on dif|ferent t|
|000012b0| 79 70 65 73 20 6f 66 20 | 70 72 69 6e 74 65 72 73 |ypes of |printers|
|000012c0| 2e 0d 59 6f 75 20 73 68 | 6f 75 6c 64 20 75 73 65 |..You sh|ould use|
|000012d0| 20 74 68 69 73 20 63 68 | 61 70 74 65 72 20 69 66 | this ch|apter if|
|000012e0| 20 79 6f 75 20 77 61 6e | 74 20 79 6f 75 72 20 61 | you wan|t your a|
|000012f0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 74 6f 20 61 6c |pplicati|on to al|
|00001300| 6c 6f 77 20 74 68 65 20 | 75 73 65 72 20 74 6f 20 |low the |user to |
|00001310| 70 72 69 6e 74 2e 20 0d | 42 65 66 6f 72 65 20 72 |print. .|Before r|
|00001320| 65 61 64 69 6e 67 20 74 | 68 69 73 20 63 68 61 70 |eading t|his chap|
|00001330| 74 65 72 2c 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |ter, you| should |
|00001340| 62 65 20 66 61 6d 69 6c | 69 61 72 20 77 69 74 68 |be famil|iar with|
|00001350| 20 51 75 69 63 6b 44 72 | 61 77 d5 73 20 64 72 61 | QuickDr|aw.s dra|
|00001360| 77 69 6e 67 20 72 6f 75 | 74 69 6e 65 73 20 61 6e |wing rou|tines an|
|00001370| 64 20 74 68 65 20 67 72 | 61 66 50 6f 72 74 20 64 |d the gr|afPort d|
|00001380| 61 74 61 20 74 79 70 65 | 2e 20 59 6f 75 20 6d 61 |ata type|. You ma|
|00001390| 79 20 61 6c 73 6f 20 6e | 65 65 64 20 74 6f 20 72 |y also n|eed to r|
|000013a0| 65 66 65 72 20 74 6f 20 | 74 68 65 20 3c 69 74 61 |efer to |the <ita|
|000013b0| 6c 69 63 73 5c 3e 57 6f | 72 6c 64 77 69 64 65 20 |lics\>Wo|rldwide |
|000013c0| 53 6f 66 74 77 61 72 65 | 20 76 6f 6c 75 6d 65 20 |Software| volume |
|000013d0| 66 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |for info|rmation |
|000013e0| 61 62 6f 75 74 20 70 72 | 69 6e 74 69 6e 67 20 74 |about pr|inting t|
|000013f0| 65 78 74 20 66 72 6f 6d | 20 6e 6f 6e 2d 52 6f 6d |ext from| non-Rom|
|00001400| 61 6e 20 73 63 72 69 70 | 74 20 73 79 73 74 65 6d |an scrip|t system|
|00001410| 73 2e 0d 54 68 69 73 20 | 63 68 61 70 74 65 72 20 |s..This |chapter |
|00001420| 62 65 67 69 6e 73 20 77 | 69 74 68 20 61 20 64 65 |begins w|ith a de|
|00001430| 73 63 72 69 70 74 69 6f | 6e 20 6f 66 20 74 68 65 |scriptio|n of the|
|00001440| 20 65 6c 65 6d 65 6e 74 | 73 20 6f 66 20 74 68 65 | element|s of the|
|00001450| 20 70 72 69 6e 74 69 6e | 67 20 65 6e 76 69 72 6f | printin|g enviro|
|00001460| 6e 6d 65 6e 74 3a 20 20 | 74 79 70 65 73 20 6f 66 |nment: |types of|
|00001470| 20 70 72 69 6e 74 69 6e | 67 2c 20 70 61 67 65 20 | printin|g, page |
|00001480| 63 68 61 72 61 63 74 65 | 72 69 73 74 69 63 73 2c |characte|ristics,|
|00001490| 20 61 6e 64 20 70 72 69 | 6e 74 65 72 20 63 68 61 | and pri|nter cha|
|000014a0| 72 61 63 74 65 72 69 73 | 74 69 63 73 2e 20 54 68 |racteris|tics. Th|
|000014b0| 65 6e 20 69 74 20 64 65 | 73 63 72 69 62 65 73 20 |en it de|scribes |
|000014c0| 0d 6e 09 70 72 69 6e 74 | 69 6e 67 20 61 20 64 6f |.n.print|ing a do|
|000014d0| 63 75 6d 65 6e 74 0d 6e | 09 6f 70 74 69 6d 69 7a |cument.n|.optimiz|
|000014e0| 69 6e 67 20 70 72 69 6e | 74 69 6e 67 20 70 65 72 |ing prin|ting per|
|000014f0| 66 6f 72 6d 61 6e 63 65 | 0d 6e 09 68 61 6e 64 6c |formance|.n.handl|
|00001500| 69 6e 67 20 70 72 69 6e | 74 69 6e 67 20 65 72 72 |ing prin|ting err|
|00001510| 6f 72 73 0d 6e 09 75 73 | 69 6e 67 20 70 69 63 74 |ors.n.us|ing pict|
|00001520| 75 72 65 20 63 6f 6d 6d | 65 6e 74 73 0d 46 6f 72 |ure comm|ents.For|
|00001530| 20 66 75 72 74 68 65 72 | 20 69 6e 66 6f 72 6d 61 | further| informa|
|00001540| 74 69 6f 6e 20 61 62 6f | 75 74 20 74 68 65 20 4c |tion abo|ut the L|
|00001550| 61 73 65 72 57 72 69 74 | 65 72 20 70 72 69 6e 74 |aserWrit|er print|
|00001560| 65 72 20 61 6e 64 20 68 | 6f 77 20 69 74 20 6f 70 |er and h|ow it op|
|00001570| 65 72 61 74 65 73 2c 20 | 73 65 65 20 74 68 65 20 |erates, |see the |
|00001580| 4c 61 73 65 72 57 72 69 | 74 65 72 20 52 65 66 65 |LaserWri|ter Refe|
|00001590| 72 65 6e 63 65 2c 20 70 | 75 62 6c 69 73 68 65 64 |rence, p|ublished|
|000015a0| 20 62 79 20 41 64 64 69 | 73 6f 6e 2d 57 65 73 6c | by Addi|son-Wesl|
|000015b0| 65 79 2e 20 46 6f 72 20 | 69 6e 66 6f 72 6d 61 74 |ey. For |informat|
|000015c0| 69 6f 6e 20 61 62 6f 75 | 74 20 68 6f 77 20 50 6f |ion abou|t how Po|
|000015d0| 73 74 53 63 72 69 70 74 | 20 77 6f 72 6b 73 20 61 |stScript| works a|
|000015e0| 6e 64 20 74 68 65 20 73 | 70 65 63 69 66 69 63 73 |nd the s|pecifics|
|000015f0| 20 6f 66 20 50 6f 73 74 | 53 63 72 69 70 74 20 63 | of Post|Script c|
|00001600| 6f 6d 6d 61 6e 64 73 2c | 20 73 65 65 20 74 68 65 |ommands,| see the|
|00001610| 20 50 6f 73 74 53 63 72 | 69 70 74 20 4c 61 6e 67 | PostScr|ipt Lang|
|00001620| 75 61 67 65 20 52 65 66 | 65 72 65 6e 63 65 20 4d |uage Ref|erence M|
|00001630| 61 6e 75 61 6c 2c 20 61 | 6c 73 6f 20 70 75 62 6c |anual, a|lso publ|
|00001640| 69 73 68 65 64 20 62 79 | 20 41 64 64 69 73 6f 6e |ished by| Addison|
|00001650| 2d 57 65 73 6c 65 79 2e | 20 0d 49 6e 74 72 6f 64 |-Wesley.| .Introd|
|00001660| 75 63 74 69 6f 6e 20 74 | 6f 20 50 72 69 6e 74 69 |uction t|o Printi|
|00001670| 6e 67 0d 49 6e 20 6f 72 | 64 65 72 20 66 6f 72 20 |ng.In or|der for |
|00001680| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00001690| 20 74 6f 20 70 72 69 6e | 74 2c 20 69 74 20 73 65 | to prin|t, it se|
|000016a0| 6e 64 73 20 61 6e 20 69 | 6d 61 67 65 20 74 6f 20 |nds an i|mage to |
|000016b0| 61 20 70 72 69 6e 74 65 | 72 2c 20 74 61 6b 69 6e |a printe|r, takin|
|000016c0| 67 20 69 6e 74 6f 20 61 | 63 63 6f 75 6e 74 20 74 |g into a|ccount t|
|000016d0| 68 65 20 66 65 61 74 75 | 72 65 73 20 74 68 65 20 |he featu|res the |
|000016e0| 70 72 69 6e 74 65 72 20 | 6f 66 66 65 72 73 2c 20 |printer |offers, |
|000016f0| 68 6f 77 20 74 68 65 20 | 70 72 69 6e 74 65 72 20 |how the |printer |
|00001700| 70 72 69 6e 74 73 2c 20 | 61 6e 64 20 74 68 65 20 |prints, |and the |
|00001710| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 70 61 70 65 |size of |the pape|
|00001720| 72 20 74 68 65 20 75 73 | 65 72 20 77 61 6e 74 73 |r the us|er wants|
|00001730| 2e 20 59 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |. Your a|pplicati|
|00001740| 6f 6e 20 64 6f 65 73 6e | d5 74 20 68 61 76 65 20 |on doesn|.t have |
|00001750| 74 6f 20 6b 6e 6f 77 20 | 74 68 65 20 6b 69 6e 64 |to know |the kind|
|00001760| 20 6f 66 20 70 72 69 6e | 74 65 72 20 74 68 65 20 | of prin|ter the |
|00001770| 75 73 65 72 20 68 61 73 | 20 63 68 6f 73 65 6e 2c |user has| chosen,|
|00001780| 20 62 65 63 61 75 73 65 | 20 79 6f 75 20 63 61 6c | because| you cal|
|00001790| 6c 20 74 68 65 20 73 61 | 6d 65 20 70 72 69 6e 74 |l the sa|me print|
|000017a0| 69 6e 67 20 72 6f 75 74 | 69 6e 65 73 2c 20 72 65 |ing rout|ines, re|
|000017b0| 67 61 72 64 6c 65 73 73 | 20 6f 66 20 74 68 65 20 |gardless| of the |
|000017c0| 74 79 70 65 20 6f 66 20 | 70 72 69 6e 74 65 72 2e |type of |printer.|
|000017d0| 20 54 68 65 73 65 20 72 | 6f 75 74 69 6e 65 73 20 | These r|outines |
|000017e0| 61 72 65 20 74 72 61 6e | 73 6c 61 74 65 64 20 69 |are tran|slated i|
|000017f0| 6e 74 6f 20 61 63 74 75 | 61 6c 20 70 72 69 6e 74 |nto actu|al print|
|00001800| 69 6e 67 20 63 6f 64 65 | 20 62 79 20 74 68 65 20 |ing code| by the |
|00001810| 70 72 69 6e 74 65 72 20 | 72 65 73 6f 75 72 63 65 |printer |resource|
|00001820| 20 66 69 6c 65 2c 20 77 | 68 69 63 68 20 69 73 20 | file, w|hich is |
|00001830| 6f 6e 20 74 68 65 20 75 | 73 65 72 d5 73 20 73 79 |on the u|ser.s sy|
|00001840| 73 74 65 6d 2e 20 28 45 | 61 63 68 20 74 79 70 65 |stem. (E|ach type|
|00001850| 20 6f 66 20 70 72 69 6e | 74 65 72 20 68 61 73 20 | of prin|ter has |
|00001860| 69 74 73 20 6f 77 6e 20 | 70 72 69 6e 74 65 72 20 |its own |printer |
|00001870| 72 65 73 6f 75 72 63 65 | 20 66 69 6c 65 2e 29 20 |resource| file.) |
|00001880| 54 68 65 20 70 72 69 6e | 74 65 72 20 72 65 73 6f |The prin|ter reso|
|00001890| 75 72 63 65 20 66 69 6c | 65 20 63 6f 6e 74 61 69 |urce fil|e contai|
|000018a0| 6e 73 20 61 20 64 65 76 | 69 63 65 20 64 72 69 76 |ns a dev|ice driv|
|000018b0| 65 72 2c 20 63 61 6c 6c | 65 64 20 74 68 65 20 70 |er, call|ed the p|
|000018c0| 72 69 6e 74 65 72 20 64 | 72 69 76 65 72 2c 20 74 |rinter d|river, t|
|000018d0| 68 61 74 20 74 61 6b 65 | 73 20 74 68 65 20 64 6f |hat take|s the do|
|000018e0| 63 75 6d 65 6e 74 20 66 | 72 6f 6d 20 74 68 65 20 |cument f|rom the |
|000018f0| 50 72 69 6e 74 69 6e 67 | 20 4d 61 6e 61 67 65 72 |Printing| Manager|
|00001900| 20 61 6e 64 20 73 65 6e | 64 73 20 69 74 20 74 6f | and sen|ds it to|
|00001910| 20 74 68 65 20 70 72 69 | 6e 74 65 72 2e 20 4f 6e | the pri|nter. On|
|00001920| 65 20 70 72 69 6e 74 65 | 72 20 64 72 69 76 65 72 |e printe|r driver|
|00001930| 20 63 61 6e 20 63 6f 6d | 6d 75 6e 69 63 61 74 65 | can com|municate|
|00001940| 20 77 69 74 68 20 73 65 | 76 65 72 61 6c 20 70 72 | with se|veral pr|
|00001950| 69 6e 74 65 72 73 20 6f | 66 20 74 68 65 20 73 61 |inters o|f the sa|
|00001960| 6d 65 20 74 79 70 65 3b | 20 66 6f 72 20 65 78 61 |me type;| for exa|
|00001970| 6d 70 6c 65 2c 20 74 68 | 65 20 4c 61 73 65 72 57 |mple, th|e LaserW|
|00001980| 72 69 74 65 72 20 70 72 | 69 6e 74 65 72 20 64 72 |riter pr|inter dr|
|00001990| 69 76 65 72 20 63 61 6e | 20 77 6f 72 6b 20 77 69 |iver can| work wi|
|000019a0| 74 68 20 73 65 76 65 72 | 61 6c 20 4c 61 73 65 72 |th sever|al Laser|
|000019b0| 57 72 69 74 65 72 20 70 | 72 69 6e 74 65 72 73 20 |Writer p|rinters |
|000019c0| 6f 6e 20 61 20 6e 65 74 | 77 6f 72 6b 2e 20 20 20 |on a net|work. |
|000019d0| 0d 59 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f |.Your ap|plicatio|
|000019e0| 6e 20 73 68 6f 75 6c 64 | 20 62 65 20 64 65 76 69 |n should| be devi|
|000019f0| 63 65 2d 69 6e 64 65 70 | 65 6e 64 65 6e 74 20 77 |ce-indep|endent w|
|00001a00| 68 65 6e 20 69 74 20 70 | 72 69 6e 74 73 20 61 20 |hen it p|rints a |
|00001a10| 64 6f 63 75 6d 65 6e 74 | 2c 20 73 6f 20 74 68 61 |document|, so tha|
|00001a20| 74 20 69 74 20 64 6f 65 | 73 6e d5 74 20 72 65 6c |t it doe|sn.t rel|
|00001a30| 79 20 6f 6e 20 61 6e 79 | 20 6f 6e 65 20 70 72 69 |y on any| one pri|
|00001a40| 6e 74 65 72 20 66 65 61 | 74 75 72 65 20 62 65 69 |nter fea|ture bei|
|00001a50| 6e 67 20 70 72 65 73 65 | 6e 74 2e 20 46 6f 72 20 |ng prese|nt. For |
|00001a60| 69 6e 73 74 61 6e 63 65 | 2c 20 74 68 65 20 63 75 |instance|, the cu|
|00001a70| 72 72 65 6e 74 20 70 72 | 69 6e 74 65 72 20 74 68 |rrent pr|inter th|
|00001a80| 65 20 75 73 65 72 20 68 | 61 73 20 73 65 6c 65 63 |e user h|as selec|
|00001a90| 74 65 64 20 6d 61 79 20 | 70 72 6f 64 75 63 65 20 |ted may |produce |
|00001aa0| 6c 61 73 65 72 2d 71 75 | 61 6c 69 74 79 20 6f 72 |laser-qu|ality or|
|00001ab0| 20 64 6f 74 2d 6d 61 74 | 72 69 78 20 74 79 70 65 | dot-mat|rix type|
|00001ac0| 2c 20 61 6e 64 20 79 6f | 75 72 20 61 70 70 6c 69 |, and yo|ur appli|
|00001ad0| 63 61 74 69 6f 6e 20 73 | 68 6f 75 6c 64 20 62 65 |cation s|hould be|
|00001ae0| 20 72 65 61 64 79 20 74 | 6f 20 68 61 6e 64 6c 65 | ready t|o handle|
|00001af0| 20 62 6f 74 68 2e 20 54 | 68 65 20 50 72 69 6e 74 | both. T|he Print|
|00001b00| 69 6e 67 20 4d 61 6e 61 | 67 65 72 20 74 61 6b 65 |ing Mana|ger take|
|00001b10| 73 20 6d 75 63 68 20 6f | 66 20 74 68 65 20 77 6f |s much o|f the wo|
|00001b20| 72 6b 20 6f 75 74 20 6f | 66 20 63 6f 6d 69 6e 67 |rk out o|f coming|
|00001b30| 20 75 70 20 77 69 74 68 | 20 61 20 73 69 6e 67 6c | up with| a singl|
|00001b40| 65 20 77 61 79 20 74 6f | 20 68 61 6e 64 6c 65 20 |e way to| handle |
|00001b50| 61 6c 6c 20 70 6f 73 73 | 69 62 6c 65 20 70 72 69 |all poss|ible pri|
|00001b60| 6e 74 65 72 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |nter env|ironment|
|00001b70| 73 2e 20 48 6f 77 65 76 | 65 72 2c 20 77 68 69 6c |s. Howev|er, whil|
|00001b80| 65 20 79 6f 75 20 73 68 | 6f 75 6c 64 6e d5 74 20 |e you sh|ouldn.t |
|00001b90| 64 65 70 65 6e 64 20 6f | 6e 20 61 6e 79 20 66 65 |depend o|n any fe|
|00001ba0| 61 74 75 72 65 20 62 65 | 69 6e 67 20 70 72 65 73 |ature be|ing pres|
|00001bb0| 65 6e 74 2c 20 74 68 65 | 72 65 20 61 72 65 20 61 |ent, the|re are a|
|00001bc0| 20 66 65 77 20 74 68 69 | 6e 67 73 20 61 62 6f 75 | few thi|ngs abou|
|00001bd0| 74 20 70 72 69 6e 74 65 | 72 73 20 6f 66 20 77 68 |t printe|rs of wh|
|00001be0| 69 63 68 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 62 |ich you |should b|
|00001bf0| 65 20 61 77 61 72 65 20 | 61 6e 64 20 77 68 69 63 |e aware |and whic|
|00001c00| 68 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 74 6f |h you ca|n use to|
|00001c10| 20 6f 70 74 69 6d 69 7a | 65 20 70 72 69 6e 74 69 | optimiz|e printi|
|00001c20| 6e 67 3a 20 74 68 65 20 | 6d 65 74 68 6f 64 20 6f |ng: the |method o|
|00001c30| 66 20 70 72 69 6e 74 69 | 6e 67 20 74 68 65 20 75 |f printi|ng the u|
|00001c40| 73 65 72 20 77 61 6e 74 | 73 2c 20 74 68 65 20 73 |ser want|s, the s|
|00001c50| 69 7a 65 20 6f 66 20 74 | 68 65 20 70 61 70 65 72 |ize of t|he paper|
|00001c60| 20 6f 6e 20 77 68 69 63 | 68 20 74 68 65 20 75 73 | on whic|h the us|
|00001c70| 65 72 20 77 69 6c 6c 20 | 70 72 69 6e 74 20 74 68 |er will |print th|
|00001c80| 65 20 64 6f 63 75 6d 65 | 6e 74 2c 20 61 6e 64 20 |e docume|nt, and |
|00001c90| 74 68 65 20 72 65 73 6f | 6c 75 74 69 6f 6e 20 6f |the reso|lution o|
|00001ca0| 66 20 74 68 65 20 70 72 | 69 6e 74 65 72 2e 0d 4d |f the pr|inter..M|
|00001cb0| 65 74 68 6f 64 73 20 61 | 6e 64 20 51 75 61 6c 69 |ethods a|nd Quali|
|00001cc0| 74 69 65 73 20 6f 66 20 | 50 72 69 6e 74 69 6e 67 |ties of |Printing|
|00001cd0| 0d 54 68 65 72 65 20 61 | 72 65 20 74 77 6f 20 62 |.There a|re two b|
|00001ce0| 61 73 69 63 20 6d 65 74 | 68 6f 64 73 20 6f 66 20 |asic met|hods of |
|00001cf0| 70 72 69 6e 74 69 6e 67 | 20 64 6f 63 75 6d 65 6e |printing| documen|
|00001d00| 74 73 3a 20 69 6d 6d 65 | 64 69 61 74 65 20 61 6e |ts: imme|diate an|
|00001d10| 64 20 64 65 66 65 72 72 | 65 64 2e 20 54 68 65 20 |d deferr|ed. The |
|00001d20| 50 72 69 6e 74 69 6e 67 | 20 4d 61 6e 61 67 65 72 |Printing| Manager|
|00001d30| 20 63 68 6f 6f 73 65 73 | 20 77 68 69 63 68 20 6d | chooses| which m|
|00001d40| 65 74 68 6f 64 20 74 6f | 20 75 73 65 20 62 79 20 |ethod to| use by |
|00001d50| 64 65 74 65 72 6d 69 6e | 69 6e 67 20 74 68 65 20 |determin|ing the |
|00001d60| 63 61 70 61 62 69 6c 69 | 74 69 65 73 20 6f 66 20 |capabili|ties of |
|00001d70| 74 68 65 20 63 75 72 72 | 65 6e 74 20 70 72 69 6e |the curr|ent prin|
|00001d80| 74 65 72 20 61 6e 64 20 | 75 73 69 6e 67 20 74 68 |ter and |using th|
|00001d90| 65 20 70 72 69 6e 74 69 | 6e 67 20 70 72 65 66 65 |e printi|ng prefe|
|00001da0| 72 65 6e 63 65 73 20 73 | 65 6c 65 63 74 65 64 20 |rences s|elected |
|00001db0| 62 79 20 74 68 65 20 75 | 73 65 72 2e 20 20 54 68 |by the u|ser. Th|
|00001dc0| 65 20 74 77 6f 20 70 72 | 69 6e 74 69 6e 67 20 6d |e two pr|inting m|
|00001dd0| 65 74 68 6f 64 73 20 61 | 72 65 20 69 6d 70 6c 65 |ethods a|re imple|
|00001de0| 6d 65 6e 74 65 64 20 69 | 6e 20 64 69 66 66 65 72 |mented i|n differ|
|00001df0| 65 6e 74 20 77 61 79 73 | 20 66 6f 72 20 64 69 66 |ent ways| for dif|
|00001e00| 66 65 72 65 6e 74 20 70 | 72 69 6e 74 65 72 73 2e |ferent p|rinters.|
|00001e10| 20 0d 49 6d 6d 65 64 69 | 61 74 65 20 70 72 69 6e | .Immedi|ate prin|
|00001e20| 74 69 6e 67 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |ting mea|ns that |
|00001e30| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 20 70 72 69 |the docu|ment pri|
|00001e40| 6e 74 73 20 61 73 20 79 | 6f 75 72 20 61 70 70 6c |nts as y|our appl|
|00001e50| 69 63 61 74 69 6f 6e 20 | 64 72 61 77 73 20 69 74 |ication |draws it|
|00001e60| 20 69 6e 20 74 68 65 20 | 70 72 69 6e 74 69 6e 67 | in the |printing|
|00001e70| 20 67 72 61 66 50 6f 72 | 74 2e 20 59 6f 75 72 20 | grafPor|t. Your |
|00001e80| 51 75 69 63 6b 44 72 61 | 77 20 64 72 61 77 69 6e |QuickDra|w drawin|
|00001e90| 67 20 63 61 6c 6c 73 20 | 61 72 65 20 63 6f 6e 76 |g calls |are conv|
|00001ea0| 65 72 74 65 64 20 64 69 | 72 65 63 74 6c 79 20 69 |erted di|rectly i|
|00001eb0| 6e 74 6f 20 63 6f 6d 6d | 61 6e 64 20 63 6f 64 65 |nto comm|and code|
|00001ec0| 73 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 64 72 |s the pr|inter dr|
|00001ed0| 69 76 65 72 20 75 6e 64 | 65 72 73 74 61 6e 64 73 |iver und|erstands|
|00001ee0| 20 61 6e 64 20 75 73 65 | 73 20 74 6f 20 70 72 69 | and use|s to pri|
|00001ef0| 6e 74 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 2e |nt the d|ocument.|
|00001f00| 20 59 6f 75 72 20 70 72 | 69 6e 74 69 6e 67 20 63 | Your pr|inting c|
|00001f10| 6f 64 65 2c 20 74 68 65 | 20 64 61 74 61 20 74 6f |ode, the| data to|
|00001f20| 20 62 65 20 70 72 69 6e | 74 65 64 2c 20 61 6e 64 | be prin|ted, and|
|00001f30| 20 74 68 65 20 70 72 69 | 6e 74 65 72 20 64 72 69 | the pri|nter dri|
|00001f40| 76 65 72 20 63 6f 64 65 | 20 61 72 65 20 61 6c 6c |ver code| are all|
|00001f50| 20 70 72 65 73 65 6e 74 | 20 69 6e 20 6d 65 6d 6f | present| in memo|
|00001f60| 72 79 2e 20 49 6d 6d 65 | 64 69 61 74 65 20 70 72 |ry. Imme|diate pr|
|00001f70| 69 6e 74 69 6e 67 20 69 | 73 20 61 6c 73 6f 20 6b |inting i|s also k|
|00001f80| 6e 6f 77 6e 20 61 73 20 | 64 72 61 66 74 20 70 72 |nown as |draft pr|
|00001f90| 69 6e 74 69 6e 67 2e 20 | 20 20 0d 57 69 74 68 20 |inting. | .With |
|00001fa0| 64 65 66 65 72 72 65 64 | 20 70 72 69 6e 74 69 6e |deferred| printin|
|00001fb0| 67 2c 20 74 68 65 20 50 | 72 69 6e 74 69 6e 67 20 |g, the P|rinting |
|00001fc0| 4d 61 6e 61 67 65 72 20 | 77 72 69 74 65 73 20 6f |Manager |writes o|
|00001fd0| 75 74 20 61 20 72 65 70 | 72 65 73 65 6e 74 61 74 |ut a rep|resentat|
|00001fe0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 64 6f 63 75 6d |ion of t|he docum|
|00001ff0| 65 6e 74 d5 73 20 70 72 | 69 6e 74 65 64 20 69 6d |ent.s pr|inted im|
|00002000| 61 67 65 20 74 6f 20 61 | 20 64 69 73 6b 20 66 69 |age to a| disk fi|
|00002010| 6c 65 20 28 63 61 6c 6c | 65 64 20 61 20 73 70 6f |le (call|ed a spo|
|00002020| 6f 6c 20 66 69 6c 65 29 | 20 6f 72 20 70 6f 73 73 |ol file)| or poss|
|00002030| 69 62 6c 79 20 74 6f 20 | 6d 65 6d 6f 72 79 3b 20 |ibly to |memory; |
|00002040| 74 68 69 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |this inf|ormation|
|00002050| 20 69 73 20 74 68 65 6e | 20 63 6f 6e 76 65 72 74 | is then| convert|
|00002060| 65 64 20 69 6e 74 6f 20 | 61 20 62 69 74 20 69 6d |ed into |a bit im|
|00002070| 61 67 65 20 61 6e 64 20 | 70 72 69 6e 74 65 64 2e |age and |printed.|
|00002080| 20 44 65 66 65 72 72 65 | 64 20 70 72 69 6e 74 69 | Deferre|d printi|
|00002090| 6e 67 20 69 73 20 61 6c | 73 6f 20 6b 6e 6f 77 6e |ng is al|so known|
|000020a0| 20 61 73 20 73 70 6f 6f | 6c 20 70 72 69 6e 74 69 | as spoo|l printi|
|000020b0| 6e 67 2e 20 20 20 0d 54 | 68 65 20 69 6e 74 65 72 |ng. .T|he inter|
|000020c0| 6e 61 6c 20 66 6f 72 6d | 61 74 20 6f 66 20 73 70 |nal form|at of sp|
|000020d0| 6f 6f 6c 20 66 69 6c 65 | 73 20 69 73 20 70 72 69 |ool file|s is pri|
|000020e0| 76 61 74 65 20 74 6f 20 | 74 68 65 20 50 72 69 6e |vate to |the Prin|
|000020f0| 74 69 6e 67 20 4d 61 6e | 61 67 65 72 20 61 6e 64 |ting Man|ager and|
|00002100| 20 6d 61 79 20 76 61 72 | 79 20 66 72 6f 6d 20 6f | may var|y from o|
|00002110| 6e 65 20 70 72 69 6e 74 | 65 72 20 74 6f 20 61 6e |ne print|er to an|
|00002120| 6f 74 68 65 72 2e 20 59 | 6f 75 20 73 68 6f 75 6c |other. Y|ou shoul|
|00002130| 64 20 6e 6f 74 20 61 74 | 74 65 6d 70 74 20 74 6f |d not at|tempt to|
|00002140| 20 64 65 74 65 72 6d 69 | 6e 65 20 74 68 65 20 66 | determi|ne the f|
|00002150| 6f 72 6d 61 74 20 6f 66 | 20 74 68 65 73 65 20 66 |ormat of| these f|
|00002160| 69 6c 65 73 20 6f 72 20 | 75 73 65 20 3c 33 36 70 |iles or |use <36p|
|00002170| 74 5c 3e 5c 78 31 32 20 | 3c 38 62 61 74 5c 3e 75 |t\>\x12 |<8bat\>u|
|00002180| 20 0d 54 68 65 72 65 20 | 61 72 65 20 61 6c 73 6f | .There |are also|
|00002190| 20 74 77 6f 20 71 75 61 | 6c 69 74 69 65 73 20 6f | two qua|lities o|
|000021a0| 66 20 70 72 69 6e 74 69 | 6e 67 3a 20 68 69 67 68 |f printi|ng: high|
|000021b0| 2d 71 75 61 6c 69 74 79 | 20 61 6e 64 20 64 72 61 |-quality| and dra|
|000021c0| 66 74 2d 71 75 61 6c 69 | 74 79 2e 20 48 69 67 68 |ft-quali|ty. High|
|000021d0| 2d 71 75 61 6c 69 74 79 | 20 70 72 69 6e 74 69 6e |-quality| printin|
|000021e0| 67 20 70 72 6f 64 75 63 | 65 73 20 64 6f 63 75 6d |g produc|es docum|
|000021f0| 65 6e 74 73 20 74 68 61 | 74 20 75 73 65 20 61 6c |ents tha|t use al|
|00002200| 6c 20 6f 66 20 74 68 65 | 20 66 6f 6e 74 73 20 61 |l of the| fonts a|
|00002210| 6e 64 20 66 6f 72 6d 61 | 74 74 69 6e 67 20 74 68 |nd forma|tting th|
|00002220| 61 74 20 74 68 65 20 75 | 73 65 72 20 68 61 73 20 |at the u|ser has |
|00002230| 69 6e 63 6c 75 64 65 64 | 2e 20 44 72 61 66 74 2d |included|. Draft-|
|00002240| 71 75 61 6c 69 74 79 20 | 70 72 69 6e 74 69 6e 67 |quality |printing|
|00002250| 20 70 72 6f 64 75 63 65 | 73 20 71 75 69 63 6b 2c | produce|s quick,|
|00002260| 20 6c 6f 77 2d 71 75 61 | 6c 69 74 79 20 64 72 61 | low-qua|lity dra|
|00002270| 66 74 73 20 6f 66 20 74 | 65 78 74 20 64 6f 63 75 |fts of t|ext docu|
|00002280| 6d 65 6e 74 73 20 74 68 | 61 74 20 61 72 65 20 70 |ments th|at are p|
|00002290| 72 69 6e 74 65 64 20 73 | 74 72 61 69 67 68 74 20 |rinted s|traight |
|000022a0| 64 6f 77 6e 20 74 68 65 | 20 70 61 67 65 20 66 72 |down the| page fr|
|000022b0| 6f 6d 20 74 6f 70 20 74 | 6f 20 62 6f 74 74 6f 6d |om top t|o bottom|
|000022c0| 20 61 6e 64 20 6c 65 66 | 74 20 74 6f 20 72 69 67 | and lef|t to rig|
|000022d0| 68 74 2e 20 47 65 6e 65 | 72 61 6c 6c 79 2c 20 6f |ht. Gene|rally, o|
|000022e0| 6e 6c 79 20 74 65 78 74 | 20 69 73 20 70 72 69 6e |nly text| is prin|
|000022f0| 74 65 64 20 75 73 69 6e | 67 20 74 68 65 20 70 72 |ted usin|g the pr|
|00002300| 69 6e 74 65 72 d5 73 20 | 69 6e 74 65 72 6e 61 6c |inter.s |internal|
|00002310| 20 66 6f 6e 74 73 2c 20 | 77 69 74 68 6f 75 74 20 | fonts, |without |
|00002320| 66 6f 72 6d 61 74 74 69 | 6e 67 2e 20 20 20 0d 6e |formatti|ng. .n|
|00002330| 09 54 68 65 20 4c 61 73 | 65 72 57 72 69 74 65 72 |.The Las|erWriter|
|00002340| 20 70 72 69 6e 74 65 72 | 20 70 72 6f 64 75 63 65 | printer| produce|
|00002350| 73 20 6f 6e 6c 79 20 68 | 69 67 68 2d 71 75 61 6c |s only h|igh-qual|
|00002360| 69 74 79 20 6f 75 74 70 | 75 74 2e 20 0d 6e 09 54 |ity outp|ut. .n.T|
|00002370| 68 65 20 49 6d 61 67 65 | 57 72 69 74 65 72 20 70 |he Image|Writer p|
|00002380| 72 69 6e 74 65 72 20 63 | 61 6e 20 70 72 6f 64 75 |rinter c|an produ|
|00002390| 63 65 20 68 69 67 68 2d | 71 75 61 6c 69 74 79 20 |ce high-|quality |
|000023a0| 6f 72 20 64 72 61 66 74 | 2d 71 75 61 6c 69 74 79 |or draft|-quality|
|000023b0| 20 6f 75 74 70 75 74 2e | 20 44 65 66 65 72 72 65 | output.| Deferre|
|000023c0| 64 20 70 72 69 6e 74 69 | 6e 67 20 70 72 6f 64 75 |d printi|ng produ|
|000023d0| 63 65 73 20 73 74 61 6e | 64 61 72 64 20 6f 72 20 |ces stan|dard or |
|000023e0| 68 69 67 68 2d 71 75 61 | 6c 69 74 79 20 70 72 69 |high-qua|lity pri|
|000023f0| 6e 74 69 6e 67 3b 20 69 | 6d 6d 65 64 69 61 74 65 |nting; i|mmediate|
|00002400| 20 70 72 69 6e 74 69 6e | 67 20 70 72 6f 64 75 63 | printin|g produc|
|00002410| 65 73 20 64 72 61 66 74 | 2d 71 75 61 6c 69 74 79 |es draft|-quality|
|00002420| 20 70 72 69 6e 74 69 6e | 67 2e 20 0d 50 61 67 65 | printin|g. .Page|
|00002430| 20 61 6e 64 20 50 61 70 | 65 72 20 52 65 63 74 61 | and Pap|er Recta|
|00002440| 6e 67 6c 65 73 0d 54 68 | 65 72 65 20 61 72 65 20 |ngles.Th|ere are |
|00002450| 74 77 6f 20 73 69 7a 65 | 73 20 74 6f 20 63 6f 6e |two size|s to con|
|00002460| 73 69 64 65 72 20 77 68 | 65 6e 20 70 72 69 6e 74 |sider wh|en print|
|00002470| 69 6e 67 20 61 20 64 6f | 63 75 6d 65 6e 74 3a 20 |ing a do|cument: |
|00002480| 74 68 65 20 70 68 79 73 | 69 63 61 6c 20 73 69 7a |the phys|ical siz|
|00002490| 65 20 6f 66 20 74 68 65 | 20 70 61 70 65 72 2c 20 |e of the| paper, |
|000024a0| 61 6e 64 20 74 68 65 20 | 61 72 65 61 20 6f 6e 20 |and the |area on |
|000024b0| 74 68 65 20 70 61 70 65 | 72 20 74 68 61 74 20 74 |the pape|r that t|
|000024c0| 68 65 20 70 72 69 6e 74 | 65 72 20 63 61 6e 20 75 |he print|er can u|
|000024d0| 73 65 20 74 6f 20 66 6f | 72 6d 61 74 20 74 68 65 |se to fo|rmat the|
|000024e0| 20 64 6f 63 75 6d 65 6e | 74 2c 20 77 68 69 63 68 | documen|t, which|
|000024f0| 20 73 68 6f 75 6c 64 20 | 62 65 20 73 6d 61 6c 6c | should |be small|
|00002500| 65 72 20 74 68 61 6e 20 | 74 68 65 20 70 68 79 73 |er than |the phys|
|00002510| 69 63 61 6c 20 73 68 65 | 65 74 20 6f 66 20 70 61 |ical she|et of pa|
|00002520| 70 65 72 20 74 6f 20 61 | 63 63 6f 75 6e 74 20 66 |per to a|ccount f|
|00002530| 6f 72 20 6d 61 72 67 69 | 6e 73 2e 20 0d 54 68 65 |or margi|ns. .The|
|00002540| 20 70 61 67 65 20 72 65 | 63 74 61 6e 67 6c 65 20 | page re|ctangle |
|00002550| 72 65 70 72 65 73 65 6e | 74 73 20 74 68 65 20 62 |represen|ts the b|
|00002560| 6f 75 6e 64 61 72 69 65 | 73 20 6f 66 20 74 68 65 |oundarie|s of the|
|00002570| 20 70 72 69 6e 74 61 62 | 6c 65 20 70 61 67 65 2e | printab|le page.|
|00002580| 20 49 74 73 20 74 6f 70 | 20 6c 65 66 74 20 63 6f | Its top| left co|
|00002590| 72 6e 65 72 20 61 6c 77 | 61 79 73 20 68 61 73 20 |rner alw|ays has |
|000025a0| 74 68 65 20 63 6f 6f 72 | 64 69 6e 61 74 65 73 20 |the coor|dinates |
|000025b0| 28 30 2c 30 29 3b 20 74 | 68 65 20 63 6f 6f 72 64 |(0,0); t|he coord|
|000025c0| 69 6e 61 74 65 73 20 6f | 66 20 74 68 65 20 62 6f |inates o|f the bo|
|000025d0| 74 74 6f 6d 20 72 69 67 | 68 74 20 63 6f 72 6e 65 |ttom rig|ht corne|
|000025e0| 72 20 67 69 76 65 20 74 | 68 65 20 6d 61 78 69 6d |r give t|he maxim|
|000025f0| 75 6d 20 70 61 67 65 20 | 68 65 69 67 68 74 20 61 |um page |height a|
|00002600| 6e 64 20 77 69 64 74 68 | 20 61 74 74 61 69 6e 61 |nd width| attaina|
|00002610| 62 6c 65 20 6f 6e 20 74 | 68 65 20 67 69 76 65 6e |ble on t|he given|
|00002620| 20 70 72 69 6e 74 65 72 | 2c 20 69 6e 20 64 6f 74 | printer|, in dot|
|00002630| 73 2e 20 54 68 65 20 70 | 61 70 65 72 20 72 65 63 |s. The p|aper rec|
|00002640| 74 61 6e 67 6c 65 20 67 | 69 76 65 73 20 74 68 65 |tangle g|ives the|
|00002650| 20 70 68 79 73 69 63 61 | 6c 20 70 61 70 65 72 20 | physica|l paper |
|00002660| 73 69 7a 65 2c 20 64 65 | 66 69 6e 65 64 20 69 6e |size, de|fined in|
|00002670| 20 74 68 65 20 73 61 6d | 65 20 63 6f 6f 72 64 69 | the sam|e coordi|
|00002680| 6e 61 74 65 20 73 79 73 | 74 65 6d 20 61 73 20 74 |nate sys|tem as t|
|00002690| 68 65 20 70 61 67 65 20 | 72 65 63 74 61 6e 67 6c |he page |rectangl|
|000026a0| 65 2e 20 54 68 75 73 2c | 20 74 68 65 20 74 6f 70 |e. Thus,| the top|
|000026b0| 20 6c 65 66 74 20 63 6f | 6f 72 64 69 6e 61 74 65 | left co|ordinate|
|000026c0| 73 20 6f 66 20 74 68 65 | 20 70 61 70 65 72 20 72 |s of the| paper r|
|000026d0| 65 63 74 61 6e 67 6c 65 | 20 61 72 65 20 74 79 70 |ectangle| are typ|
|000026e0| 69 63 61 6c 6c 79 20 6e | 65 67 61 74 69 76 65 20 |ically n|egative |
|000026f0| 61 6e 64 20 69 74 73 20 | 62 6f 74 74 6f 6d 20 72 |and its |bottom r|
|00002700| 69 67 68 74 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |ight coo|rdinates|
|00002710| 20 61 72 65 20 67 72 65 | 61 74 65 72 20 74 68 61 | are gre|ater tha|
|00002720| 6e 20 74 68 6f 73 65 20 | 6f 66 20 74 68 65 20 70 |n those |of the p|
|00002730| 61 67 65 20 72 65 63 74 | 61 6e 67 6c 65 2e 20 54 |age rect|angle. T|
|00002740| 68 65 20 72 65 6c 61 74 | 69 6f 6e 73 68 69 70 20 |he relat|ionship |
|00002750| 6f 66 20 74 68 65 20 74 | 77 6f 20 72 65 63 74 61 |of the t|wo recta|
|00002760| 6e 67 6c 65 73 20 69 73 | 20 73 68 6f 77 6e 20 69 |ngles is| shown i|
|00002770| 6e 20 46 69 67 75 72 65 | 20 31 2d 31 2e 20 20 20 |n Figure| 1-1. |
|00002780| 20 20 0d 50 61 67 65 20 | 61 6e 64 20 70 61 70 65 | .Page |and pape|
|00002790| 72 20 72 65 63 74 61 6e | 67 6c 65 73 20 20 0d 59 |r rectan|gles .Y|
|000027a0| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|000027b0| 73 68 6f 75 6c 64 20 61 | 6c 77 61 79 73 20 75 73 |should a|lways us|
|000027c0| 65 20 74 68 65 20 70 61 | 67 65 20 72 65 63 74 61 |e the pa|ge recta|
|000027d0| 6e 67 6c 65 20 73 69 7a | 65 73 20 70 72 6f 76 69 |ngle siz|es provi|
|000027e0| 64 65 64 20 62 79 20 74 | 68 65 20 70 72 69 6e 74 |ded by t|he print|
|000027f0| 65 72 20 64 72 69 76 65 | 72 20 61 6e 64 20 73 68 |er drive|r and sh|
|00002800| 6f 75 6c 64 20 6e 6f 74 | 20 61 74 74 65 6d 70 74 |ould not| attempt|
|00002810| 20 74 6f 20 63 68 61 6e | 67 65 20 74 68 65 6d 20 | to chan|ge them |
|00002820| 6f 72 20 61 64 64 20 6e | 65 77 20 6f 6e 65 73 2e |or add n|ew ones.|
|00002830| 20 49 66 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | If your| applica|
|00002840| 74 69 6f 6e 20 73 75 70 | 70 6f 72 74 73 20 70 61 |tion sup|ports pa|
|00002850| 67 65 20 73 69 7a 65 20 | 6f 74 68 65 72 20 74 68 |ge size |other th|
|00002860| 61 6e 20 74 68 6f 73 65 | 20 70 72 6f 76 69 64 65 |an those| provide|
|00002870| 64 20 62 79 20 74 68 65 | 20 70 72 69 6e 74 65 72 |d by the| printer|
|00002880| 20 64 72 69 76 65 72 20 | 66 6f 72 20 74 68 65 20 | driver |for the |
|00002890| 63 75 72 72 65 6e 74 20 | 70 72 69 6e 74 65 72 2c |current |printer,|
|000028a0| 20 79 6f 75 20 72 69 73 | 6b 20 63 6f 6d 70 61 74 | you ris|k compat|
|000028b0| 69 62 69 6c 69 74 79 20 | 70 72 6f 62 6c 65 6d 73 |ibility |problems|
|000028c0| 20 77 69 74 68 20 41 70 | 70 6c 65 d5 73 20 70 72 | with Ap|ple.s pr|
|000028d0| 69 6e 74 65 72 20 64 72 | 69 76 65 72 73 20 61 6e |inter dr|ivers an|
|000028e0| 64 20 74 68 6f 73 65 20 | 6f 66 20 74 68 69 72 64 |d those |of third|
|000028f0| 2d 70 61 72 74 79 20 70 | 72 69 6e 74 65 72 20 6d |-party p|rinter m|
|00002900| 61 6b 65 72 73 2e 20 0d | 57 68 65 6e 20 66 6f 72 |akers. .|When for|
|00002910| 6d 61 74 74 69 6e 67 20 | 61 20 70 61 67 65 20 66 |matting |a page f|
|00002920| 6f 72 20 70 72 69 6e 74 | 69 6e 67 2c 20 72 65 6d |or print|ing, rem|
|00002930| 65 6d 62 65 72 20 74 68 | 61 74 20 69 6e 20 67 65 |ember th|at in ge|
|00002940| 6e 65 72 61 6c 20 74 68 | 65 20 73 63 72 65 65 6e |neral th|e screen|
|00002950| 20 69 73 20 77 69 64 65 | 72 20 74 68 61 6e 20 69 | is wide|r than i|
|00002960| 74 20 69 73 20 74 61 6c | 6c 2c 20 77 68 65 72 65 |t is tal|l, where|
|00002970| 61 73 20 74 68 65 20 70 | 61 67 65 20 69 73 20 74 |as the p|age is t|
|00002980| 61 6c 6c 65 72 20 74 68 | 61 6e 20 69 74 20 69 73 |aller th|an it is|
|00002990| 20 77 69 64 65 2e 20 59 | 6f 75 20 73 68 6f 75 6c | wide. Y|ou shoul|
|000029a0| 64 20 75 73 65 20 74 68 | 65 20 70 61 67 65 20 72 |d use th|e page r|
|000029b0| 65 63 74 61 6e 67 6c 65 | 20 73 69 7a 65 20 74 68 |ectangle| size th|
|000029c0| 61 74 20 74 68 65 20 75 | 73 65 72 20 68 61 73 20 |at the u|ser has |
|000029d0| 63 68 6f 73 65 6e 20 69 | 6e 20 6f 72 64 65 72 20 |chosen i|n order |
|000029e0| 74 6f 20 66 6f 72 6d 61 | 74 20 74 68 65 20 64 6f |to forma|t the do|
|000029f0| 63 75 6d 65 6e 74 2e 20 | 28 53 65 65 20 d2 54 68 |cument. |(See .Th|
|00002a00| 65 20 50 72 69 6e 74 20 | 52 65 63 6f 72 64 20 61 |e Print |Record a|
|00002a10| 6e 64 20 74 68 65 20 50 | 72 69 6e 74 69 6e 67 20 |nd the P|rinting |
|00002a20| 4c 6f 6f 70 d3 20 6f 6e | 20 70 61 67 65 20 31 2d |Loop. on| page 1-|
|00002a30| 37 20 66 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 |7 for mo|re infor|
|00002a40| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 77 68 65 |mation a|bout whe|
|00002a50| 72 65 20 74 6f 20 66 69 | 6e 64 20 74 68 65 20 75 |re to fi|nd the u|
|00002a60| 73 65 72 d5 73 20 63 68 | 6f 69 63 65 73 20 66 6f |ser.s ch|oices fo|
|00002a70| 72 20 66 6f 72 6d 61 74 | 74 69 6e 67 20 74 68 65 |r format|ting the|
|00002a80| 20 64 6f 63 75 6d 65 6e | 74 2e 29 20 0d 50 72 69 | documen|t.) .Pri|
|00002a90| 6e 74 65 72 20 52 65 73 | 6f 6c 75 74 69 6f 6e 20 |nter Res|olution |
|00002aa0| 0d 52 65 73 6f 6c 75 74 | 69 6f 6e 20 69 73 20 74 |.Resolut|ion is t|
|00002ab0| 68 65 20 64 65 67 72 65 | 65 20 6f 66 20 63 6c 61 |he degre|e of cla|
|00002ac0| 72 69 74 79 20 6f 66 20 | 79 6f 75 72 20 64 69 73 |rity of |your dis|
|00002ad0| 70 6c 61 79 20 64 65 76 | 69 63 65 2c 20 77 68 65 |play dev|ice, whe|
|00002ae0| 74 68 65 72 20 61 20 73 | 63 72 65 65 6e 20 6f 72 |ther a s|creen or|
|00002af0| 20 61 20 70 72 69 6e 74 | 65 72 2e 20 41 20 6d 6f | a print|er. A mo|
|00002b00| 6e 69 74 6f 72 20 68 61 | 73 20 62 65 74 74 65 72 |nitor ha|s better|
|00002b10| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 20 74 68 61 6e | resolut|ion than|
|00002b20| 20 61 20 74 65 6c 65 76 | 69 73 69 6f 6e 20 73 65 | a telev|ision se|
|00002b30| 74 20 75 73 65 64 20 61 | 73 20 61 20 6d 6f 6e 69 |t used a|s a moni|
|00002b40| 74 6f 72 2c 20 61 6e 64 | 20 61 20 6c 61 73 65 72 |tor, and| a laser|
|00002b50| 20 70 72 69 6e 74 65 72 | 20 68 61 73 20 62 65 74 | printer| has bet|
|00002b60| 74 65 72 20 72 65 73 6f | 6c 75 74 69 6f 6e 20 74 |ter reso|lution t|
|00002b70| 68 61 6e 20 61 20 64 6f | 74 2d 6d 61 74 72 69 78 |han a do|t-matrix|
|00002b80| 20 70 72 69 6e 74 65 72 | 2e 20 52 65 73 6f 6c 75 | printer|. Resolu|
|00002b90| 74 69 6f 6e 20 69 73 20 | 75 73 75 61 6c 6c 79 20 |tion is |usually |
|00002ba0| 73 70 65 63 69 66 69 65 | 64 20 69 6e 20 64 6f 74 |specifie|d in dot|
|00002bb0| 73 20 70 65 72 20 69 6e | 63 68 2c 20 6f 72 20 64 |s per in|ch, or d|
|00002bc0| 70 69 2c 20 69 6e 20 74 | 68 65 20 58 20 61 6e 64 |pi, in t|he X and|
|00002bd0| 20 59 20 64 69 72 65 63 | 74 69 6f 6e 73 2e 20 54 | Y direc|tions. T|
|00002be0| 68 65 20 68 69 67 68 65 | 72 20 74 68 65 20 76 61 |he highe|r the va|
|00002bf0| 6c 75 65 2c 20 74 68 65 | 20 66 69 6e 65 72 20 74 |lue, the| finer t|
|00002c00| 68 65 20 64 65 74 61 69 | 6c 20 6f 66 20 74 68 65 |he detai|l of the|
|00002c10| 20 69 6d 61 67 65 2e 20 | 20 0d 41 20 70 72 69 6e | image. | .A prin|
|00002c20| 74 65 72 20 73 75 70 70 | 6f 72 74 73 20 65 69 74 |ter supp|orts eit|
|00002c30| 68 65 72 20 64 69 73 63 | 72 65 74 65 20 6f 72 20 |her disc|rete or |
|00002c40| 76 61 72 69 61 62 6c 65 | 20 72 65 73 6f 6c 75 74 |variable| resolut|
|00002c50| 69 6f 6e 2e 20 44 69 73 | 63 72 65 74 65 20 72 65 |ion. Dis|crete re|
|00002c60| 73 6f 6c 75 74 69 6f 6e | 20 6d 65 61 6e 73 20 74 |solution| means t|
|00002c70| 68 61 74 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |hat the |applicat|
|00002c80| 69 6f 6e 20 63 61 6e 20 | 63 68 6f 6f 73 65 20 66 |ion can |choose f|
|00002c90| 72 6f 6d 20 61 20 6c 69 | 6d 69 74 65 64 20 6e 75 |rom a li|mited nu|
|00002ca0| 6d 62 65 72 20 6f 66 20 | 72 65 73 6f 6c 75 74 69 |mber of |resoluti|
|00002cb0| 6f 6e 73 20 70 72 65 64 | 65 66 69 6e 65 64 20 62 |ons pred|efined b|
|00002cc0| 79 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 64 72 |y the pr|inter dr|
|00002cd0| 69 76 65 72 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |iver. Fo|r exampl|
|00002ce0| 65 2c 20 74 68 65 20 49 | 6d 61 67 65 57 72 69 74 |e, the I|mageWrit|
|00002cf0| 65 72 20 70 72 69 6e 74 | 65 72 20 73 75 70 70 6f |er print|er suppo|
|00002d00| 72 74 73 20 66 6f 75 72 | 20 64 69 73 63 72 65 74 |rts four| discret|
|00002d10| 65 20 72 65 73 6f 6c 75 | 74 69 6f 6e 73 3a 20 37 |e resolu|tions: 7|
|00002d20| 32 20 b4 20 37 32 20 64 | 70 69 2c 20 31 34 34 20 |2 . 72 d|pi, 144 |
|00002d30| b4 20 31 34 34 20 64 70 | 69 2c 20 38 30 20 b4 20 |. 144 dp|i, 80 . |
|00002d40| 37 32 20 64 70 69 2c 20 | 61 6e 64 20 31 36 30 20 |72 dpi, |and 160 |
|00002d50| b4 20 31 34 34 20 64 70 | 69 2e 20 20 0d 56 61 72 |. 144 dp|i. .Var|
|00002d60| 69 61 62 6c 65 20 72 65 | 73 6f 6c 75 74 69 6f 6e |iable re|solution|
|00002d70| 20 6d 65 61 6e 73 20 74 | 68 65 20 61 70 70 6c 69 | means t|he appli|
|00002d80| 63 61 74 69 6f 6e 20 63 | 61 6e 20 64 65 66 69 6e |cation c|an defin|
|00002d90| 65 20 61 6e 79 20 72 65 | 73 6f 6c 75 74 69 6f 6e |e any re|solution|
|00002da0| 20 77 69 74 68 69 6e 20 | 61 20 72 61 6e 67 65 20 | within |a range |
|00002db0| 62 6f 75 6e 64 65 64 20 | 62 79 20 6d 61 78 69 6d |bounded |by maxim|
|00002dc0| 75 6d 20 61 6e 64 20 6d | 69 6e 69 6d 75 6d 20 76 |um and m|inimum v|
|00002dd0| 61 6c 75 65 73 2e 20 54 | 68 65 20 4c 61 73 65 72 |alues. T|he Laser|
|00002de0| 57 72 69 74 65 72 20 70 | 72 69 6e 74 65 72 20 64 |Writer p|rinter d|
|00002df0| 72 69 76 65 72 20 73 75 | 70 70 6f 72 74 73 20 76 |river su|pports v|
|00002e00| 61 72 69 61 62 6c 65 20 | 72 65 73 6f 6c 75 74 69 |ariable |resoluti|
|00002e10| 6f 6e 20 77 69 74 68 69 | 6e 20 61 20 72 61 6e 67 |on withi|n a rang|
|00002e20| 65 20 66 72 6f 6d 20 32 | 35 20 64 70 69 20 74 6f |e from 2|5 dpi to|
|00002e30| 20 31 35 30 30 20 64 70 | 69 20 69 6e 20 62 6f 74 | 1500 dp|i in bot|
|00002e40| 68 20 74 68 65 20 58 20 | 61 6e 64 20 59 20 64 69 |h the X |and Y di|
|00002e50| 72 65 63 74 69 6f 6e 73 | 2e 20 28 48 6f 77 65 76 |rections|. (Howev|
|00002e60| 65 72 2c 20 61 20 4c 61 | 73 65 72 57 72 69 74 65 |er, a La|serWrite|
|00002e70| 72 20 70 72 69 6e 74 65 | 72 20 74 68 61 74 20 75 |r printe|r that u|
|00002e80| 73 65 73 20 50 6f 73 74 | 53 63 72 69 70 74 20 73 |ses Post|Script s|
|00002e90| 75 70 70 6f 72 74 73 20 | 61 20 6d 61 78 69 6d 75 |upports |a maximu|
|00002ea0| 6d 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 6f 66 20 |m resolu|tion of |
|00002eb0| 33 30 30 20 b4 20 33 30 | 30 20 64 70 69 2e 20 53 |300 . 30|0 dpi. S|
|00002ec0| 6f 6d 65 20 6f 74 68 65 | 72 20 50 6f 73 74 53 63 |ome othe|r PostSc|
|00002ed0| 72 69 70 74 20 64 65 76 | 69 63 65 73 20 74 68 61 |ript dev|ices tha|
|00002ee0| 74 20 75 73 65 20 74 68 | 65 20 4c 61 73 65 72 57 |t use th|e LaserW|
|00002ef0| 72 69 74 65 72 20 70 72 | 69 6e 74 65 72 20 64 72 |riter pr|inter dr|
|00002f00| 69 76 65 72 20 63 61 6e | 20 61 63 68 69 65 76 65 |iver can| achieve|
|00002f10| 20 68 69 67 68 65 72 20 | 72 65 73 6f 6c 75 74 69 | higher |resoluti|
|00002f20| 6f 6e 73 2c 20 75 70 20 | 74 6f 20 74 68 65 20 6d |ons, up |to the m|
|00002f30| 61 78 69 6d 75 6d 20 73 | 75 70 70 6f 72 74 65 64 |aximum s|upported|
|00002f40| 20 62 79 20 74 68 65 20 | 4c 61 73 65 72 57 72 69 | by the |LaserWri|
|00002f50| 74 65 72 20 64 72 69 76 | 65 72 2e 29 20 0d 49 6e |ter driv|er.) .In|
|00002f60| 20 6f 72 64 65 72 20 74 | 6f 20 70 72 69 6e 74 2c | order t|o print,|
|00002f70| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00002f80| 6e 20 64 6f 65 73 20 6e | 6f 74 20 6e 65 65 64 20 |n does n|ot need |
|00002f90| 74 6f 20 63 68 65 63 6b | 20 74 68 65 20 72 65 73 |to check| the res|
|00002fa0| 6f 6c 75 74 69 6f 6e 73 | 20 61 76 61 69 6c 61 62 |olutions| availab|
|00002fb0| 6c 65 20 6f 72 20 73 65 | 74 20 74 68 65 20 72 65 |le or se|t the re|
|00002fc0| 73 6f 6c 75 74 69 6f 6e | 2e 20 48 6f 77 65 76 65 |solution|. Howeve|
|00002fd0| 72 2c 20 69 66 20 79 6f | 75 72 20 61 70 70 6c 69 |r, if yo|ur appli|
|00002fe0| 63 61 74 69 6f 6e 20 64 | 6f 65 73 20 66 61 63 74 |cation d|oes fact|
|00002ff0| 6f 72 20 69 6e 20 70 6f | 73 73 69 62 6c 65 20 72 |or in po|ssible r|
|00003000| 65 73 6f 6c 75 74 69 6f | 6e 73 2c 20 69 74 20 63 |esolutio|ns, it c|
|00003010| 61 6e 20 6f 62 74 61 69 | 6e 20 74 68 65 20 62 65 |an obtai|n the be|
|00003020| 73 74 20 71 75 61 6c 69 | 74 79 20 6f 75 74 70 75 |st quali|ty outpu|
|00003030| 74 20 66 72 6f 6d 20 61 | 20 70 72 69 6e 74 65 72 |t from a| printer|
|00003040| 20 63 68 6f 6f 73 69 6e | 67 20 65 71 75 61 6c 20 | choosin|g equal |
|00003050| 72 65 73 6f 6c 75 74 69 | 6f 6e 73 20 66 6f 72 20 |resoluti|ons for |
|00003060| 74 68 65 20 58 20 61 6e | 64 20 59 20 64 69 72 65 |the X an|d Y dire|
|00003070| 63 74 69 6f 6e 73 2e 20 | 53 6f 6d 65 20 64 65 76 |ctions. |Some dev|
|00003080| 69 63 65 73 20 73 75 70 | 70 6f 72 74 20 58 20 61 |ices sup|port X a|
|00003090| 6e 64 20 59 20 72 65 73 | 6f 6c 75 74 69 6f 6e 73 |nd Y res|olutions|
|000030a0| 20 74 68 61 74 20 61 72 | 65 20 6e 6f 74 20 65 71 | that ar|e not eq|
|000030b0| 75 61 6c 2c 20 62 75 74 | 20 75 73 69 6e 67 20 74 |ual, but| using t|
|000030c0| 68 69 73 20 74 79 70 65 | 20 6f 66 20 72 65 73 6f |his type| of reso|
|000030d0| 6c 75 74 69 6f 6e 20 75 | 73 75 61 6c 6c 79 20 72 |lution u|sually r|
|000030e0| 65 73 75 6c 74 73 20 69 | 6e 20 61 20 64 69 73 74 |esults i|n a dist|
|000030f0| 6f 72 74 69 6f 6e 20 6f | 66 20 74 68 65 20 70 72 |ortion o|f the pr|
|00003100| 69 6e 74 65 64 20 69 6d | 61 67 65 2e 20 46 6f 72 |inted im|age. For|
|00003110| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00003120| 68 6f 77 20 74 6f 20 64 | 65 74 65 72 6d 69 6e 65 |how to d|etermine|
|00003130| 20 74 68 65 20 61 76 61 | 69 6c 61 62 6c 65 20 72 | the ava|ilable r|
|00003140| 65 73 6f 6c 75 74 69 6f | 6e 20 6f 72 20 72 65 73 |esolutio|n or res|
|00003150| 6f 6c 75 74 69 6f 6e 73 | 20 66 6f 72 20 74 68 65 |olutions| for the|
|00003160| 20 63 75 72 72 65 6e 74 | 6c 79 20 73 65 6c 65 63 | current|ly selec|
|00003170| 74 65 64 20 70 72 69 6e | 74 65 72 2c 20 73 65 65 |ted prin|ter, see|
|00003180| 20 d2 44 65 74 65 72 6d | 69 6e 69 6e 67 20 74 68 | .Determ|ining th|
|00003190| 65 20 52 65 73 6f 6c 75 | 74 69 6f 6e 20 6f 66 20 |e Resolu|tion of |
|000031a0| 74 68 65 20 43 75 72 72 | 65 6e 74 20 50 72 69 6e |the Curr|ent Prin|
|000031b0| 74 65 72 d3 20 6f 6e 20 | 70 61 67 65 20 31 2d 31 |ter. on |page 1-1|
|000031c0| 37 2e 20 0d 41 62 6f 75 | 74 20 74 68 65 20 50 72 |7. .Abou|t the Pr|
|000031d0| 69 6e 74 69 6e 67 20 4d | 61 6e 61 67 65 72 0d 49 |inting M|anager.I|
|000031e0| 6e 20 6f 72 64 65 72 20 | 74 6f 20 70 72 69 6e 74 |n order |to print|
|000031f0| 2c 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |, your a|pplicati|
|00003200| 6f 6e 20 66 69 72 73 74 | 20 75 73 65 73 20 74 68 |on first| uses th|
|00003210| 65 20 50 72 69 6e 74 69 | 6e 67 20 4d 61 6e 61 67 |e Printi|ng Manag|
|00003220| 65 72 20 74 6f 20 6f 70 | 65 6e 20 74 68 65 20 70 |er to op|en the p|
|00003230| 72 69 6e 74 65 72 20 64 | 72 69 76 65 72 2e 20 59 |rinter d|river. Y|
|00003240| 6f 75 20 74 68 65 6e 20 | 70 72 65 70 61 72 65 20 |ou then |prepare |
|00003250| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 20 66 6f 72 |the docu|ment for|
|00003260| 20 70 72 69 6e 74 69 6e | 67 20 62 79 20 66 6f 72 | printin|g by for|
|00003270| 6d 61 74 74 69 6e 67 20 | 69 74 20 61 73 20 6e 65 |matting |it as ne|
|00003280| 63 65 73 73 61 72 79 20 | 66 6f 72 20 74 68 65 20 |cessary |for the |
|00003290| 70 61 67 65 20 73 69 7a | 65 20 74 68 61 74 20 74 |page siz|e that t|
|000032a0| 68 65 20 75 73 65 72 20 | 68 61 73 20 73 65 6c 65 |he user |has sele|
|000032b0| 63 74 65 64 2e 20 57 68 | 65 6e 20 79 6f 75 20 70 |cted. Wh|en you p|
|000032c0| 72 69 6e 74 2c 20 79 6f | 75 20 64 72 61 77 20 74 |rint, yo|u draw t|
|000032d0| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 75 73 69 6e |he docum|ent usin|
|000032e0| 67 20 51 75 69 63 6b 44 | 72 61 77 20 72 6f 75 74 |g QuickD|raw rout|
|000032f0| 69 6e 65 73 20 69 6e 74 | 6f 20 74 68 65 20 70 72 |ines int|o the pr|
|00003300| 69 6e 74 69 6e 67 20 67 | 72 61 66 50 6f 72 74 2e |inting g|rafPort.|
|00003310| 20 0d 54 68 65 20 50 72 | 69 6e 74 69 6e 67 20 4d | .The Pr|inting M|
|00003320| 61 6e 61 67 65 72 20 67 | 69 76 65 73 20 79 6f 75 |anager g|ives you|
|00003330| 20 61 20 20 70 72 69 6e | 74 69 6e 67 20 67 72 61 | a prin|ting gra|
|00003340| 66 50 6f 72 74 20 77 68 | 65 6e 20 79 6f 75 20 6f |fPort wh|en you o|
|00003350| 70 65 6e 20 61 20 64 6f | 63 75 6d 65 6e 74 20 66 |pen a do|cument f|
|00003360| 6f 72 20 70 72 69 6e 74 | 69 6e 67 2e 20 54 68 65 |or print|ing. The|
|00003370| 20 70 72 69 6e 74 69 6e | 67 20 67 72 61 66 50 6f | printin|g grafPo|
|00003380| 72 74 20 64 61 74 61 20 | 74 79 70 65 20 69 73 20 |rt data |type is |
|00003390| 61 20 51 75 69 63 6b 44 | 72 61 77 20 67 72 61 66 |a QuickD|raw graf|
|000033a0| 50 6f 72 74 20 77 69 74 | 68 20 61 64 64 69 74 69 |Port wit|h additi|
|000033b0| 6f 6e 61 6c 20 66 69 65 | 6c 64 73 20 74 68 61 74 |onal fie|lds that|
|000033c0| 20 63 75 73 74 6f 6d 69 | 7a 65 20 69 74 20 66 6f | customi|ze it fo|
|000033d0| 72 20 70 72 69 6e 74 69 | 6e 67 2e 20 28 59 6f 75 |r printi|ng. (You|
|000033e0| 20 6d 75 73 74 20 63 68 | 65 63 6b 20 66 6f 72 20 | must ch|eck for |
|000033f0| 74 68 65 20 74 79 70 65 | 20 6f 66 20 67 72 61 66 |the type| of graf|
|00003400| 50 6f 72 74 20 64 61 74 | 61 20 74 79 70 65 2c 20 |Port dat|a type, |
|00003410| 62 65 63 61 75 73 65 20 | 69 74 20 6d 61 79 20 62 |because |it may b|
|00003420| 65 20 61 20 63 6f 6c 6f | 72 20 67 72 61 66 50 6f |e a colo|r grafPo|
|00003430| 72 74 20 64 61 74 61 20 | 74 79 70 65 2e 29 20 54 |rt data |type.) T|
|00003440| 68 65 20 54 50 50 72 50 | 6f 72 74 20 64 61 74 61 |he TPPrP|ort data|
|00003450| 20 74 79 70 65 20 64 65 | 66 69 6e 65 73 20 74 68 | type de|fines th|
|00003460| 65 20 70 72 69 6e 74 69 | 6e 67 20 67 72 61 66 50 |e printi|ng grafP|
|00003470| 6f 72 74 20 72 65 63 6f | 72 64 2e 20 20 20 20 20 |ort reco|rd. |
|00003480| 0d 54 59 50 45 09 09 09 | 09 09 54 50 50 72 50 6f |.TYPE...|..TPPrPo|
|00003490| 72 74 09 09 09 3d 09 5e | 54 50 72 50 6f 72 74 3b |rt...=.^|TPrPort;|
|000034a0| 0d 09 09 09 09 09 54 50 | 72 50 6f 72 74 09 09 09 |......TP|rPort...|
|000034b0| 3d 09 0d 52 45 43 4f 52 | 44 0d 09 09 09 09 67 50 |=..RECOR|D.....gP|
|000034c0| 6f 72 74 3a 20 47 72 61 | 66 50 6f 72 74 3b 09 09 |ort: Gra|fPort;..|
|000034d0| 09 09 09 09 7b 67 72 61 | 66 50 6f 72 74 20 74 6f |....{gra|fPort to|
|000034e0| 20 64 72 61 77 20 69 6e | 20 7d 0d 09 09 09 09 67 | draw in| }.....g|
|000034f0| 50 72 6f 63 73 3a 20 51 | 44 50 72 6f 63 73 3b 09 |Procs: Q|DProcs;.|
|00003500| 09 09 09 09 09 7b 64 72 | 61 77 69 6e 67 20 72 6f |.....{dr|awing ro|
|00003510| 75 74 69 6e 65 73 20 6f | 66 20 74 68 65 20 70 72 |utines o|f the pr|
|00003520| 69 6e 74 65 72 20 64 72 | 69 76 65 72 7d 0d 09 09 |inter dr|iver}...|
|00003530| 09 09 7b 20 6d 6f 72 65 | 20 66 69 65 6c 64 73 20 |..{ more| fields |
|00003540| 66 6f 72 20 69 6e 74 65 | 72 6e 61 6c 20 75 73 65 |for inte|rnal use|
|00003550| 20 7d 0d 45 4e 44 3b 0d | 59 6f 75 20 70 72 69 6e | }.END;.|You prin|
|00003560| 74 20 74 65 78 74 20 61 | 6e 64 20 67 72 61 70 68 |t text a|nd graph|
|00003570| 69 63 73 20 62 79 20 64 | 72 61 77 69 6e 67 20 69 |ics by d|rawing i|
|00003580| 6e 74 6f 20 74 68 69 73 | 20 70 6f 72 74 20 77 69 |nto this| port wi|
|00003590| 74 68 20 51 75 69 63 6b | 44 72 61 77 20 63 61 6c |th Quick|Draw cal|
|000035a0| 6c 73 2c 20 6a 75 73 74 | 20 61 73 20 69 66 20 79 |ls, just| as if y|
|000035b0| 6f 75 20 77 65 72 65 20 | 64 72 61 77 69 6e 67 20 |ou were |drawing |
|000035c0| 6f 6e 20 74 68 65 20 73 | 63 72 65 65 6e 2e 20 28 |on the s|creen. (|
|000035d0| 54 68 65 20 70 72 69 6e | 74 65 72 20 64 72 69 76 |The prin|ter driv|
|000035e0| 65 72 20 69 6e 73 74 61 | 6c 6c 73 20 69 74 73 20 |er insta|lls its |
|000035f0| 6f 77 6e 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |own vers|ions of |
|00003600| 51 75 69 63 6b 44 72 61 | 77 d5 73 20 6c 6f 77 2d |QuickDra|w.s low-|
|00003610| 6c 65 76 65 6c 20 64 72 | 61 77 69 6e 67 20 72 6f |level dr|awing ro|
|00003620| 75 74 69 6e 65 73 20 69 | 6e 20 74 68 65 20 67 50 |utines i|n the gP|
|00003630| 72 6f 63 73 20 66 69 65 | 6c 64 20 6f 66 20 74 68 |rocs fie|ld of th|
|00003640| 65 20 70 72 69 6e 74 69 | 6e 67 20 67 72 61 66 50 |e printi|ng grafP|
|00003650| 6f 72 74 20 64 61 74 61 | 20 74 79 70 65 2c 20 63 |ort data| type, c|
|00003660| 61 75 73 69 6e 67 20 79 | 6f 75 72 20 68 69 67 68 |ausing y|our high|
|00003670| 65 72 2d 6c 65 76 65 6c | 20 51 75 69 63 6b 44 72 |er-level| QuickDr|
|00003680| 61 77 20 63 61 6c 6c 73 | 20 74 6f 20 64 72 69 76 |aw calls| to driv|
|00003690| 65 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 69 6e |e the pr|inter in|
|000036a0| 73 74 65 61 64 20 6f 66 | 20 64 72 61 77 69 6e 67 |stead of| drawing|
|000036b0| 20 6f 6e 20 74 68 65 20 | 73 63 72 65 65 6e 2e 20 | on the |screen. |
|000036c0| 59 6f 75 20 73 68 6f 75 | 6c 64 20 73 74 6f 72 65 |You shou|ld store|
|000036d0| 20 79 6f 75 72 20 76 65 | 72 73 69 6f 6e 73 20 6f | your ve|rsions o|
|000036e0| 66 20 51 75 69 63 6b 44 | 72 61 77 20 72 6f 75 74 |f QuickD|raw rout|
|000036f0| 69 6e 65 73 20 69 6e 20 | 74 68 65 20 67 50 72 6f |ines in |the gPro|
|00003700| 63 73 20 66 69 65 6c 64 | 20 6f 66 20 74 68 65 20 |cs field| of the |
|00003710| 67 50 6f 72 74 20 66 69 | 65 6c 64 20 6f 66 20 74 |gPort fi|eld of t|
|00003720| 68 65 20 67 72 61 66 50 | 6f 72 74 20 64 61 74 61 |he grafP|ort data|
|00003730| 20 74 79 70 65 2e 29 20 | 20 0d 4f 6e 63 65 20 79 | type.) | .Once y|
|00003740| 6f 75 20 68 61 76 65 20 | 64 72 61 77 6e 20 74 68 |ou have |drawn th|
|00003750| 65 20 64 6f 63 75 6d 65 | 6e 74 20 69 6e 20 74 68 |e docume|nt in th|
|00003760| 65 20 70 72 69 6e 74 69 | 6e 67 20 67 72 61 66 50 |e printi|ng grafP|
|00003770| 6f 72 74 2c 20 74 68 65 | 20 70 72 69 6e 74 65 72 |ort, the| printer|
|00003780| 20 64 72 69 76 65 72 20 | 74 61 6b 65 73 20 6f 76 | driver |takes ov|
|00003790| 65 72 2c 20 74 72 61 6e | 73 6c 61 74 69 6e 67 20 |er, tran|slating |
|000037a0| 74 68 65 20 51 75 69 63 | 6b 44 72 61 77 20 63 61 |the Quic|kDraw ca|
|000037b0| 6c 6c 73 20 66 6f 72 20 | 74 68 65 20 70 72 69 6e |lls for |the prin|
|000037c0| 74 65 72 2e 20 54 68 65 | 20 70 72 69 6e 74 65 72 |ter. The| printer|
|000037d0| 20 69 74 73 65 6c 66 20 | 64 6f 65 73 20 6e 6f 74 | itself |does not|
|000037e0| 68 69 6e 67 20 65 78 63 | 65 70 74 20 64 72 61 77 |hing exc|ept draw|
|000037f0| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 6f 6e | the doc|ument on|
|00003800| 20 61 20 70 61 67 65 2c | 20 65 78 61 63 74 6c 79 | a page,| exactly|
|00003810| 20 61 73 20 74 68 65 20 | 70 72 69 6e 74 65 72 20 | as the |printer |
|00003820| 64 72 69 76 65 72 20 64 | 69 72 65 63 74 73 20 69 |driver d|irects i|
|00003830| 74 2e 20 0d 54 68 65 20 | 55 73 65 72 d5 73 20 46 |t. .The |User.s F|
|00003840| 6f 72 6d 61 74 74 69 6e | 67 20 49 6e 70 75 74 0d |ormattin|g Input.|
|00003850| 54 68 65 20 75 73 65 72 | 20 67 69 76 65 73 20 79 |The user| gives y|
|00003860| 6f 75 20 74 68 65 20 69 | 6e 66 6f 72 6d 61 74 69 |ou the i|nformati|
|00003870| 6f 6e 20 6f 6e 20 68 6f | 77 20 74 6f 20 66 6f 72 |on on ho|w to for|
|00003880| 6d 61 74 20 61 6e 64 20 | 70 72 69 6e 74 20 61 20 |mat and |print a |
|00003890| 64 6f 63 75 6d 65 6e 74 | d1 66 6f 72 20 65 78 61 |document|.for exa|
|000038a0| 6d 70 6c 65 2c 20 74 68 | 65 20 64 69 6d 65 6e 73 |mple, th|e dimens|
|000038b0| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 70 61 67 65 |ions of |the page|
|000038c0| 2c 20 74 68 65 20 70 61 | 67 65 73 20 6f 66 20 74 |, the pa|ges of t|
|000038d0| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 74 68 61 74 |he docum|ent that|
|000038e0| 20 73 68 6f 75 6c 64 20 | 62 65 20 70 72 69 6e 74 | should |be print|
|000038f0| 65 64 2c 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ed, the |number o|
|00003900| 66 20 63 6f 70 69 65 73 | d1 74 68 72 6f 75 67 68 |f copies|.through|
|00003910| 20 74 77 6f 20 73 74 61 | 6e 64 61 72 64 20 64 69 | two sta|ndard di|
|00003920| 61 6c 6f 67 20 62 6f 78 | 65 73 3a 20 74 68 65 20 |alog box|es: the |
|00003930| 73 74 79 6c 65 20 64 69 | 61 6c 6f 67 20 62 6f 78 |style di|alog box|
|00003940| 20 61 6e 64 20 74 68 65 | 20 6a 6f 62 20 64 69 61 | and the| job dia|
|00003950| 6c 6f 67 20 62 6f 78 2e | 20 0d 54 68 65 20 73 74 |log box.| .The st|
|00003960| 79 6c 65 20 64 69 61 6c | 6f 67 20 62 6f 78 20 6c |yle dial|og box l|
|00003970| 65 74 73 20 74 68 65 20 | 75 73 65 72 20 73 70 65 |ets the |user spe|
|00003980| 63 69 66 79 20 74 68 65 | 20 64 69 6d 65 6e 73 69 |cify the| dimensi|
|00003990| 6f 6e 73 20 6f 66 20 74 | 68 65 20 70 61 70 65 72 |ons of t|he paper|
|000039a0| 20 72 65 63 74 61 6e 67 | 6c 65 20 61 6e 64 20 61 | rectang|le and a|
|000039b0| 6e 79 20 6f 70 74 69 6f | 6e 73 20 74 68 61 74 20 |ny optio|ns that |
|000039c0| 61 66 66 65 63 74 20 74 | 68 65 20 69 6d 61 67 65 |affect t|he image|
|000039d0| 20 74 6f 20 62 65 20 70 | 72 69 6e 74 65 64 2c 20 | to be p|rinted, |
|000039e0| 77 68 69 63 68 20 69 73 | 20 74 68 65 20 69 6e 66 |which is| the inf|
|000039f0| 6f 72 6d 61 74 69 6f 6e | 20 79 6f 75 20 6e 65 65 |ormation| you nee|
|00003a00| 64 20 74 6f 20 66 6f 72 | 6d 61 74 20 74 68 65 20 |d to for|mat the |
|00003a10| 64 6f 63 75 6d 65 6e 74 | 2e 20 59 6f 75 72 20 61 |document|. Your a|
|00003a20| 70 70 6c 69 63 61 74 69 | 6f 6e 20 63 61 6e 20 63 |pplicati|on can c|
|00003a30| 75 73 74 6f 6d 69 7a 65 | 20 74 68 65 20 73 74 79 |ustomize| the sty|
|00003a40| 6c 65 20 64 69 61 6c 6f | 67 20 62 6f 78 20 74 6f |le dialo|g box to|
|00003a50| 20 61 73 6b 20 66 6f 72 | 20 61 64 64 69 74 69 6f | ask for| additio|
|00003a60| 6e 61 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |nal info|rmation.|
|00003a70| 20 46 69 67 75 72 65 20 | 31 2d 32 20 73 68 6f 77 | Figure |1-2 show|
|00003a80| 73 20 61 20 73 61 6d 70 | 6c 65 20 73 74 79 6c 65 |s a samp|le style|
|00003a90| 20 64 69 61 6c 6f 67 20 | 62 6f 78 20 66 6f 72 20 | dialog |box for |
|00003aa0| 74 68 65 20 4c 61 73 65 | 72 57 72 69 74 65 72 20 |the Lase|rWriter |
|00003ab0| 53 43 20 70 72 69 6e 74 | 65 72 2e 20 59 6f 75 72 |SC print|er. Your|
|00003ac0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 73 68 6f | applica|tion sho|
|00003ad0| 75 6c 64 20 70 72 65 73 | 65 6e 74 20 74 68 65 20 |uld pres|ent the |
|00003ae0| 73 74 79 6c 65 20 64 69 | 61 6c 6f 67 20 62 6f 78 |style di|alog box|
|00003af0| 20 77 68 65 6e 20 74 68 | 65 20 75 73 65 72 20 63 | when th|e user c|
|00003b00| 68 6f 6f 73 65 73 20 74 | 68 65 20 50 61 67 65 20 |hooses t|he Page |
|00003b10| 53 65 74 75 70 20 63 6f | 6d 6d 61 6e 64 20 66 72 |Setup co|mmand fr|
|00003b20| 6f 6d 20 74 68 65 20 46 | 69 6c 65 20 6d 65 6e 75 |om the F|ile menu|
|00003b30| 2e 20 0d 41 20 73 61 6d | 70 6c 65 20 73 74 79 6c |. .A sam|ple styl|
|00003b40| 65 20 64 69 61 6c 6f 67 | 20 62 6f 78 20 0d 54 68 |e dialog| box .Th|
|00003b50| 65 20 6a 6f 62 20 64 69 | 61 6c 6f 67 20 62 6f 78 |e job di|alog box|
|00003b60| 20 6c 65 74 73 20 74 68 | 65 20 75 73 65 72 20 73 | lets th|e user s|
|00003b70| 70 65 63 69 66 79 20 68 | 6f 77 20 74 6f 20 70 72 |pecify h|ow to pr|
|00003b80| 69 6e 74 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |int the |document|
|00003b90| 20 74 68 69 73 20 74 69 | 6d 65 2c 20 73 75 63 68 | this ti|me, such|
|00003ba0| 20 61 73 20 74 68 65 20 | 70 72 69 6e 74 20 71 75 | as the |print qu|
|00003bb0| 61 6c 69 74 79 20 28 77 | 68 65 74 68 65 72 20 68 |ality (w|hether h|
|00003bc0| 69 67 68 2d 71 75 61 6c | 69 74 79 20 6f 72 20 64 |igh-qual|ity or d|
|00003bd0| 72 61 66 74 2d 71 75 61 | 6c 69 74 79 29 2c 20 74 |raft-qua|lity), t|
|00003be0| 68 65 20 74 79 70 65 20 | 6f 66 20 70 61 70 65 72 |he type |of paper|
|00003bf0| 20 66 65 65 64 20 28 73 | 75 63 68 20 61 73 20 70 | feed (s|uch as p|
|00003c00| 61 70 65 72 20 74 72 61 | 79 20 6f 72 20 6d 61 6e |aper tra|y or man|
|00003c10| 75 61 6c 29 2c 20 74 68 | 65 20 72 61 6e 67 65 20 |ual), th|e range |
|00003c20| 6f 66 20 70 61 67 65 73 | 20 74 6f 20 70 72 69 6e |of pages| to prin|
|00003c30| 74 2c 20 61 6e 64 20 74 | 68 65 20 6e 75 6d 62 65 |t, and t|he numbe|
|00003c40| 72 20 6f 66 20 63 6f 70 | 69 65 73 2e 20 59 6f 75 |r of cop|ies. You|
|00003c50| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 63 61 |r applic|ation ca|
|00003c60| 6e 20 63 75 73 74 6f 6d | 69 7a 65 20 74 68 65 20 |n custom|ize the |
|00003c70| 6a 6f 62 20 64 69 61 6c | 6f 67 20 62 6f 78 20 74 |job dial|og box t|
|00003c80| 6f 20 61 73 6b 20 66 6f | 72 20 69 6e 66 6f 72 6d |o ask fo|r inform|
|00003c90| 61 74 69 6f 6e 20 62 65 | 79 6f 6e 64 20 74 68 65 |ation be|yond the|
|00003ca0| 73 65 20 74 6f 70 69 63 | 73 2e 20 46 69 67 75 72 |se topic|s. Figur|
|00003cb0| 65 20 31 2d 33 20 73 68 | 6f 77 73 20 61 20 73 61 |e 1-3 sh|ows a sa|
|00003cc0| 6d 70 6c 65 20 6a 6f 62 | 20 64 69 61 6c 6f 67 20 |mple job| dialog |
|00003cd0| 62 6f 78 20 66 6f 72 20 | 74 68 65 20 4c 61 73 65 |box for |the Lase|
|00003ce0| 72 57 72 69 74 65 72 20 | 53 43 20 70 72 69 6e 74 |rWriter |SC print|
|00003cf0| 65 72 2e 20 59 6f 75 72 | 20 61 70 70 6c 69 63 61 |er. Your| applica|
|00003d00| 74 69 6f 6e 20 73 68 6f | 75 6c 64 20 70 72 65 73 |tion sho|uld pres|
|00003d10| 65 6e 74 20 74 68 65 20 | 6a 6f 62 20 64 69 61 6c |ent the |job dial|
|00003d20| 6f 67 20 62 6f 78 20 77 | 68 65 6e 20 74 68 65 20 |og box w|hen the |
|00003d30| 75 73 65 72 20 63 68 6f | 6f 73 65 73 20 74 68 65 |user cho|oses the|
|00003d40| 20 50 72 69 6e 74 20 63 | 6f 6d 6d 61 6e 64 20 66 | Print c|ommand f|
|00003d50| 72 6f 6d 20 74 68 65 20 | 46 69 6c 65 20 6d 65 6e |rom the |File men|
|00003d60| 75 2e 20 0d 41 20 73 61 | 6d 70 6c 65 20 6a 6f 62 |u. .A sa|mple job|
|00003d70| 20 64 69 61 6c 6f 67 20 | 62 6f 78 20 0d 54 68 65 | dialog |box .The|
|00003d80| 20 50 72 69 6e 74 20 52 | 65 63 6f 72 64 20 61 6e | Print R|ecord an|
|00003d90| 64 20 74 68 65 20 50 72 | 69 6e 74 69 6e 67 20 4c |d the Pr|inting L|
|00003da0| 6f 6f 70 0d 49 6e 20 6f | 72 64 65 72 20 74 6f 20 |oop.In o|rder to |
|00003db0| 70 72 69 6e 74 20 61 20 | 64 6f 63 75 6d 65 6e 74 |print a |document|
|00003dc0| 2c 20 79 6f 75 20 6e 65 | 65 64 20 61 20 70 72 69 |, you ne|ed a pri|
|00003dd0| 6e 74 20 72 65 63 6f 72 | 64 2e 20 54 68 65 20 70 |nt recor|d. The p|
|00003de0| 72 69 6e 74 20 72 65 63 | 6f 72 64 2c 20 6f 66 20 |rint rec|ord, of |
|00003df0| 74 79 70 65 20 54 50 72 | 69 6e 74 20 28 73 65 65 |type TPr|int (see|
|00003e00| 20 70 61 67 65 20 31 2d | 33 30 29 20 63 6f 6e 74 | page 1-|30) cont|
|00003e10| 61 69 6e 73 20 74 68 65 | 20 50 72 69 6e 74 69 6e |ains the| Printin|
|00003e20| 67 20 4d 61 6e 61 67 65 | 72 20 76 65 72 73 69 6f |g Manage|r versio|
|00003e30| 6e 2c 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |n, infor|mation a|
|00003e40| 62 6f 75 74 20 74 68 65 | 20 70 72 69 6e 74 65 72 |bout the| printer|
|00003e50| 20 28 73 75 63 68 20 61 | 73 20 69 74 73 20 72 65 | (such a|s its re|
|00003e60| 73 6f 6c 75 74 69 6f 6e | 20 69 6e 20 64 70 69 29 |solution| in dpi)|
|00003e70| 2c 20 74 68 65 20 64 69 | 6d 65 6e 73 69 6f 6e 73 |, the di|mensions|
|00003e80| 20 6f 66 20 74 68 65 20 | 70 61 70 65 72 20 72 65 | of the |paper re|
|00003e90| 63 74 61 6e 67 6c 65 2c | 20 61 6e 64 20 74 68 65 |ctangle,| and the|
|00003ea0| 20 73 70 65 63 69 66 69 | 63 61 74 69 6f 6e 73 20 | specifi|cations |
|00003eb0| 74 68 65 20 75 73 65 72 | 20 6d 61 64 65 20 69 6e |the user| made in|
|00003ec0| 20 74 68 65 20 73 74 79 | 6c 65 20 61 6e 64 20 6a | the sty|le and j|
|00003ed0| 6f 62 20 64 69 61 6c 6f | 67 20 62 6f 78 65 73 2e |ob dialo|g boxes.|
|00003ee0| 20 20 0d 54 68 65 20 70 | 72 69 6e 74 20 72 65 63 | .The p|rint rec|
|00003ef0| 6f 72 64 20 68 61 73 20 | 73 65 76 65 72 61 6c 20 |ord has |several |
|00003f00| 73 75 62 72 65 63 6f 72 | 64 73 2e 20 54 68 65 20 |subrecor|ds. The |
|00003f10| 70 72 69 6e 74 65 72 20 | 69 6e 66 6f 72 6d 61 74 |printer |informat|
|00003f20| 69 6f 6e 20 73 75 62 72 | 65 63 6f 72 64 2c 20 6f |ion subr|ecord, o|
|00003f30| 66 20 74 79 70 65 20 54 | 50 72 49 6e 66 6f 20 28 |f type T|PrInfo (|
|00003f40| 73 65 65 20 70 61 67 65 | 20 31 2d 33 31 29 2c 20 |see page| 1-31), |
|00003f50| 67 69 76 65 73 20 79 6f | 75 20 74 68 65 20 69 6e |gives yo|u the in|
|00003f60| 66 6f 72 6d 61 74 69 6f | 6e 20 6e 65 65 64 65 64 |formatio|n needed|
|00003f70| 20 66 6f 72 20 70 61 67 | 65 20 63 6f 6d 70 6f 73 | for pag|e compos|
|00003f80| 69 74 69 6f 6e 2c 20 69 | 6e 63 6c 75 64 69 6e 67 |ition, i|ncluding|
|00003f90| 20 74 68 65 20 76 65 72 | 74 69 63 61 6c 20 61 6e | the ver|tical an|
|00003fa0| 64 20 68 6f 72 69 7a 6f | 6e 74 61 6c 20 72 65 73 |d horizo|ntal res|
|00003fb0| 6f 6c 75 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 70 |olution |of the p|
|00003fc0| 72 69 6e 74 65 72 20 69 | 6e 20 64 70 69 20 61 6e |rinter i|n dpi an|
|00003fd0| 64 20 74 68 65 20 62 6f | 75 6e 64 61 72 69 65 73 |d the bo|undaries|
|00003fe0| 20 6f 66 20 74 68 65 20 | 70 61 67 65 20 72 65 63 | of the |page rec|
|00003ff0| 74 61 6e 67 6c 65 20 28 | 77 68 69 63 68 20 69 73 |tangle (|which is|
|00004000| 20 64 65 74 65 72 6d 69 | 6e 65 64 20 69 6e 20 74 | determi|ned in t|
|00004010| 68 65 20 73 74 79 6c 65 | 20 64 69 61 6c 6f 67 20 |he style| dialog |
|00004020| 62 6f 78 2c 20 64 69 73 | 63 75 73 73 65 64 20 6f |box, dis|cussed o|
|00004030| 6e 20 70 61 67 65 20 31 | 2d 36 29 2e 20 54 68 65 |n page 1|-6). The|
|00004040| 20 70 72 69 6e 74 69 6e | 67 20 6a 6f 62 20 73 75 | printin|g job su|
|00004050| 62 72 65 63 6f 72 64 2c | 20 6f 66 20 74 79 70 65 |brecord,| of type|
|00004060| 20 54 50 72 4a 6f 62 20 | 28 73 65 65 20 70 61 67 | TPrJob |(see pag|
|00004070| 65 20 31 2d 33 31 29 2c | 20 67 69 76 65 73 20 79 |e 1-31),| gives y|
|00004080| 6f 75 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |ou infor|mation a|
|00004090| 62 6f 75 74 20 61 20 70 | 61 72 74 69 63 75 6c 61 |bout a p|articula|
|000040a0| 72 20 70 72 69 6e 74 69 | 6e 67 20 6a 6f 62 3b 20 |r printi|ng job; |
|000040b0| 66 6f 72 20 69 6e 73 74 | 61 6e 63 65 2c 20 74 68 |for inst|ance, th|
|000040c0| 65 20 66 69 72 73 74 20 | 61 6e 64 20 6c 61 73 74 |e first |and last|
|000040d0| 20 70 61 67 65 73 20 74 | 6f 20 62 65 20 70 72 69 | pages t|o be pri|
|000040e0| 6e 74 65 64 2c 20 74 68 | 65 20 6e 75 6d 62 65 72 |nted, th|e number|
|000040f0| 20 6f 66 20 63 6f 70 69 | 65 73 2c 20 61 6e 64 20 | of copi|es, and |
|00004100| 74 68 65 20 6d 65 74 68 | 6f 64 20 6f 66 20 70 72 |the meth|od of pr|
|00004110| 69 6e 74 69 6e 67 20 74 | 68 65 20 50 72 69 6e 74 |inting t|he Print|
|00004120| 69 6e 67 20 4d 61 6e 61 | 67 65 72 20 77 69 6c 6c |ing Mana|ger will|
|00004130| 20 75 73 65 2e 20 54 68 | 65 20 75 73 65 72 20 73 | use. Th|e user s|
|00004140| 65 74 73 20 69 74 73 20 | 63 6f 6e 74 65 6e 74 73 |ets its |contents|
|00004150| 20 75 73 69 6e 67 20 74 | 68 65 20 6a 6f 62 20 64 | using t|he job d|
|00004160| 69 61 6c 6f 67 20 62 6f | 78 2e 20 20 20 0d 59 6f |ialog bo|x. .Yo|
|00004170| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |ur appli|cation s|
|00004180| 68 6f 75 6c 64 20 6e 6f | 74 20 63 68 61 6e 67 65 |hould no|t change|
|00004190| 20 74 68 65 20 64 61 74 | 61 20 69 6e 20 74 68 65 | the dat|a in the|
|000041a0| 20 70 72 69 6e 74 20 72 | 65 63 6f 72 64 d1 62 65 | print r|ecord.be|
|000041b0| 20 73 75 72 65 20 74 6f | 20 75 73 65 20 74 68 65 | sure to| use the|
|000041c0| 20 73 74 61 6e 64 61 72 | 64 20 64 69 61 6c 6f 67 | standar|d dialog|
|000041d0| 20 62 6f 78 65 73 20 74 | 6f 20 73 65 74 20 74 68 | boxes t|o set th|
|000041e0| 69 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 20 |is infor|mation. |
|000041f0| 54 68 65 20 6f 6e 6c 79 | 20 66 69 65 6c 64 73 20 |The only| fields |
|00004200| 79 6f 75 20 6d 61 79 20 | 6e 65 65 64 20 74 6f 20 |you may |need to |
|00004210| 73 65 74 20 64 69 72 65 | 63 74 6c 79 20 61 72 65 |set dire|ctly are|
|00004220| 20 73 6f 6d 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | some co|ntaining|
|00004230| 20 6f 70 74 69 6f 6e 61 | 6c 20 69 6e 66 6f 72 6d | optiona|l inform|
|00004240| 61 74 69 6f 6e 20 69 6e | 20 74 68 65 20 70 72 69 |ation in| the pri|
|00004250| 6e 74 69 6e 67 20 6a 6f | 62 20 73 75 62 72 65 63 |nting jo|b subrec|
|00004260| 6f 72 64 20 28 66 6f 72 | 20 65 78 61 6d 70 6c 65 |ord (for| example|
|00004270| 2c 20 74 68 65 20 70 6f | 69 6e 74 65 72 20 74 6f |, the po|inter to|
|00004280| 20 74 68 65 20 69 64 6c | 65 20 70 72 6f 63 65 64 | the idl|e proced|
|00004290| 75 72 65 29 2e 20 41 74 | 74 65 6d 70 74 69 6e 67 |ure). At|tempting|
|000042a0| 20 74 6f 20 73 65 74 20 | 6f 74 68 65 72 20 76 61 | to set |other va|
|000042b0| 6c 75 65 73 20 64 69 72 | 65 63 74 6c 79 20 69 6e |lues dir|ectly in|
|000042c0| 20 74 68 65 20 70 72 69 | 6e 74 20 72 65 63 6f 72 | the pri|nt recor|
|000042d0| 64 20 63 61 6e 20 70 72 | 6f 64 75 63 65 20 75 6e |d can pr|oduce un|
|000042e0| 65 78 70 65 63 74 65 64 | 20 72 65 73 75 6c 74 73 |expected| results|
|000042f0| 2e 20 3c 33 36 70 74 5c | 3e 5c 78 31 32 20 3c 38 |. <36pt\|>\x12 <8|
|00004300| 62 61 74 5c 3e 73 20 20 | 0d 59 6f 75 72 20 61 70 |bat\>s |.Your ap|
|00004310| 70 6c 69 63 61 74 69 6f | 6e 20 73 68 6f 75 6c 64 |plicatio|n should|
|00004320| 20 63 6f 6e 74 61 69 6e | 20 61 20 70 72 69 6e 74 | contain| a print|
|00004330| 69 6e 67 20 6c 6f 6f 70 | 2c 20 77 68 69 63 68 20 |ing loop|, which |
|00004340| 69 73 20 77 68 65 72 65 | 20 61 6c 6c 20 74 68 65 |is where| all the|
|00004350| 20 70 72 69 6e 74 69 6e | 67 20 6e 65 65 64 73 20 | printin|g needs |
|00004360| 61 72 65 20 68 61 6e 64 | 6c 65 64 2c 20 69 6e 63 |are hand|led, inc|
|00004370| 6c 75 64 69 6e 67 20 70 | 72 65 73 65 6e 74 69 6e |luding p|resentin|
|00004380| 67 20 74 68 65 20 6a 6f | 62 20 64 69 61 6c 6f 67 |g the jo|b dialog|
|00004390| 20 62 6f 78 20 61 6e 64 | 20 64 65 74 65 72 6d 69 | box and| determi|
|000043a0| 6e 69 6e 67 20 74 68 65 | 20 72 61 6e 67 65 20 6f |ning the| range o|
|000043b0| 66 20 70 61 67 65 73 20 | 74 6f 20 62 65 20 70 72 |f pages |to be pr|
|000043c0| 69 6e 74 65 64 2e 20 0d | 49 6e 20 74 68 65 20 70 |inted. .|In the p|
|000043d0| 72 69 6e 74 69 6e 67 20 | 6c 6f 6f 70 2c 20 79 6f |rinting |loop, yo|
|000043e0| 75 20 6f 70 65 6e 20 74 | 68 65 20 50 72 69 6e 74 |u open t|he Print|
|000043f0| 69 6e 67 20 4d 61 6e 61 | 67 65 72 2c 20 69 6e 69 |ing Mana|ger, ini|
|00004400| 74 69 61 6c 69 7a 65 20 | 61 20 67 72 61 66 50 6f |tialize |a grafPo|
|00004410| 72 74 20 64 61 74 61 20 | 74 79 70 65 20 66 6f 72 |rt data |type for|
|00004420| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 28 d2 | the doc|ument (.|
|00004430| 6f 70 65 6e d3 20 74 68 | 65 20 64 6f 63 75 6d 65 |open. th|e docume|
|00004440| 6e 74 29 2c 20 61 6e 64 | 20 63 61 6c 63 75 6c 61 |nt), and| calcula|
|00004450| 74 65 20 74 68 65 20 62 | 6f 75 6e 64 69 6e 67 20 |te the b|ounding |
|00004460| 72 65 63 74 61 6e 67 6c | 65 20 66 6f 72 20 6f 6e |rectangl|e for on|
|00004470| 65 20 70 61 67 65 20 6f | 66 20 74 68 65 20 64 6f |e page o|f the do|
|00004480| 63 75 6d 65 6e 74 20 28 | d2 6f 70 65 6e d3 20 61 |cument (|.open. a|
|00004490| 20 70 61 67 65 29 2e 20 | 45 61 63 68 20 70 61 67 | page). |Each pag|
|000044a0| 65 20 6e 65 65 64 73 20 | 74 6f 20 62 65 20 6f 70 |e needs |to be op|
|000044b0| 65 6e 65 64 20 61 6e 64 | 20 63 6c 6f 73 65 64 20 |ened and| closed |
|000044c0| 62 65 66 6f 72 65 20 79 | 6f 75 20 63 61 6e 20 68 |before y|ou can h|
|000044d0| 61 6e 64 6c 65 20 61 6e | 79 20 73 75 62 73 65 71 |andle an|y subseq|
|000044e0| 75 65 6e 74 20 70 61 67 | 65 20 6f 66 20 74 68 65 |uent pag|e of the|
|000044f0| 20 64 6f 63 75 6d 65 6e | 74 2c 20 73 6f 20 74 68 | documen|t, so th|
|00004500| 61 74 20 79 6f 75 20 63 | 61 6e 20 64 65 74 65 72 |at you c|an deter|
|00004510| 6d 69 6e 65 20 65 78 61 | 63 74 6c 79 20 68 6f 77 |mine exa|ctly how|
|00004520| 20 6d 75 63 68 20 69 6e | 66 6f 72 6d 61 74 69 6f | much in|formatio|
|00004530| 6e 20 6f 66 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |n of the| documen|
|00004540| 74 20 66 69 74 73 20 6f | 6e 20 65 61 63 68 20 70 |t fits o|n each p|
|00004550| 61 67 65 2e 20 57 68 65 | 6e 20 79 6f 75 20 61 72 |age. Whe|n you ar|
|00004560| 65 20 74 68 72 6f 75 67 | 68 20 77 69 74 68 20 74 |e throug|h with t|
|00004570| 68 65 20 70 61 67 65 73 | 2c 20 79 6f 75 20 74 68 |he pages|, you th|
|00004580| 65 6e 20 63 6c 6f 73 65 | 20 74 68 65 20 64 6f 63 |en close| the doc|
|00004590| 75 6d 65 6e 74 20 61 6e | 64 20 63 6c 6f 73 65 20 |ument an|d close |
|000045a0| 74 68 65 20 50 72 69 6e | 74 69 6e 67 20 4d 61 6e |the Prin|ting Man|
|000045b0| 61 67 65 72 20 62 65 66 | 6f 72 65 20 65 6e 64 69 |ager bef|ore endi|
|000045c0| 6e 67 2e 20 59 6f 75 20 | 6d 75 73 74 20 61 6c 77 |ng. You |must alw|
|000045d0| 61 79 73 20 69 73 73 75 | 65 20 74 68 65 20 63 6c |ays issu|e the cl|
|000045e0| 6f 73 69 6e 67 20 72 6f | 75 74 69 6e 65 20 74 68 |osing ro|utine th|
|000045f0| 61 74 20 6d 61 74 63 68 | 65 73 20 61 6e 79 20 6f |at match|es any o|
|00004600| 70 65 6e 69 6e 67 20 72 | 6f 75 74 69 6e 65 73 20 |pening r|outines |
|00004610| 28 66 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 20 50 |(for ins|tance, P|
|00004620| 72 4f 70 65 6e 44 6f 63 | 20 61 6e 64 20 50 72 43 |rOpenDoc| and PrC|
|00004630| 6c 6f 73 65 44 6f 63 29 | 2c 20 65 76 65 6e 20 69 |loseDoc)|, even i|
|00004640| 66 20 74 68 65 20 75 73 | 65 72 20 68 61 73 20 61 |f the us|er has a|
|00004650| 62 6f 72 74 65 64 20 70 | 72 69 6e 74 69 6e 67 20 |borted p|rinting |
|00004660| 6f 72 20 69 66 20 61 6e | 20 65 72 72 6f 72 20 69 |or if an| error i|
|00004670| 73 20 72 65 74 75 72 6e | 65 64 20 62 79 20 74 68 |s return|ed by th|
|00004680| 65 20 6f 70 65 6e 20 63 | 61 6c 6c 73 2e 20 0d 41 |e open c|alls. .A|
|00004690| 6e 20 65 78 61 6d 70 6c | 65 20 6f 66 20 61 20 70 |n exampl|e of a p|
|000046a0| 72 69 6e 74 69 6e 67 20 | 6c 6f 6f 70 20 69 73 20 |rinting |loop is |
|000046b0| 73 68 6f 77 6e 20 69 6e | 20 4c 69 73 74 69 6e 67 |shown in| Listing|
|000046c0| 20 31 2d 31 20 6f 6e 20 | 70 61 67 65 20 31 2d 31 | 1-1 on |page 1-1|
|000046d0| 32 2e 0d 54 68 65 20 49 | 64 6c 65 20 50 72 6f 63 |2..The I|dle Proc|
|000046e0| 65 64 75 72 65 0d 59 6f | 75 20 63 61 6e 20 64 65 |edure.Yo|u can de|
|000046f0| 73 69 67 6e 61 74 65 20 | 61 6e 20 69 64 6c 65 20 |signate |an idle |
|00004700| 70 72 6f 63 65 64 75 72 | 65 20 74 6f 20 62 65 20 |procedur|e to be |
|00004710| 72 75 6e 20 77 68 65 6e | 65 76 65 72 20 74 68 65 |run when|ever the|
|00004720| 20 50 72 69 6e 74 69 6e | 67 20 4d 61 6e 61 67 65 | Printin|g Manage|
|00004730| 72 20 68 61 73 20 64 69 | 72 65 63 74 65 64 20 6f |r has di|rected o|
|00004740| 75 74 70 75 74 20 74 6f | 20 74 68 65 20 70 72 69 |utput to| the pri|
|00004750| 6e 74 65 72 2e 20 49 74 | 20 73 74 6f 70 73 20 72 |nter. It| stops r|
|00004760| 75 6e 6e 69 6e 67 20 6f | 6e 63 65 20 74 68 65 20 |unning o|nce the |
|00004770| 65 6e 74 69 72 65 20 64 | 6f 63 75 6d 65 6e 74 20 |entire d|ocument |
|00004780| 68 61 73 20 62 65 65 6e | 20 73 65 6e 74 20 74 6f |has been| sent to|
|00004790| 20 74 68 65 20 70 72 69 | 6e 74 65 72 20 61 6e 64 | the pri|nter and|
|000047a0| 20 64 6f 65 73 20 6e 6f | 74 20 72 75 6e 20 77 68 | does no|t run wh|
|000047b0| 69 6c 65 20 74 68 65 20 | 70 72 69 6e 74 65 72 20 |ile the |printer |
|000047c0| 61 63 74 75 61 6c 6c 79 | 20 70 72 69 6e 74 73 2e |actually| prints.|
|000047d0| 20 54 68 65 20 69 64 6c | 65 20 70 72 6f 63 65 64 | The idl|e proced|
|000047e0| 75 72 65 20 74 61 6b 65 | 73 20 6e 6f 20 70 61 72 |ure take|s no par|
|000047f0| 61 6d 65 74 65 72 73 20 | 61 6e 64 20 72 65 74 75 |ameters |and retu|
|00004800| 72 6e 73 20 6e 6f 20 72 | 65 73 75 6c 74 3b 20 74 |rns no r|esult; t|
|00004810| 68 65 20 50 72 69 6e 74 | 69 6e 67 20 4d 61 6e 61 |he Print|ing Mana|
|00004820| 67 65 72 20 73 69 6d 70 | 6c 79 20 72 75 6e 73 20 |ger simp|ly runs |
|00004830| 69 74 20 61 74 20 65 76 | 65 72 79 20 6f 70 70 6f |it at ev|ery oppo|
|00004840| 72 74 75 6e 69 74 79 2e | 20 0d 53 6f 6d 65 20 61 |rtunity.| .Some a|
|00004850| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 75 73 65 20 |pplicati|ons use |
|00004860| 74 68 65 20 69 64 6c 65 | 20 70 72 6f 63 65 64 75 |the idle| procedu|
|00004870| 72 65 20 74 6f 20 70 72 | 6f 64 75 63 65 20 61 20 |re to pr|oduce a |
|00004880| 64 69 61 6c 6f 67 20 62 | 6f 78 2c 20 73 75 63 68 |dialog b|ox, such|
|00004890| 20 61 73 20 74 68 65 20 | 6f 6e 65 20 69 6e 20 46 | as the |one in F|
|000048a0| 69 67 75 72 65 20 31 2d | 34 2c 20 6f 6e 20 74 68 |igure 1-|4, on th|
|000048b0| 65 20 73 63 72 65 65 6e | 20 74 68 61 74 20 69 6e |e screen| that in|
|000048c0| 66 6f 72 6d 73 20 74 68 | 65 20 75 73 65 72 20 74 |forms th|e user t|
|000048d0| 68 61 74 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |hat the |document|
|000048e0| 20 69 73 20 70 72 69 6e | 74 69 6e 67 20 61 6e 64 | is prin|ting and|
|000048f0| 20 74 68 65 20 43 6f 6d | 6d 61 6e 64 2d 70 65 72 | the Com|mand-per|
|00004900| 69 6f 64 20 63 6f 6d 6d | 61 6e 64 20 77 69 6c 6c |iod comm|and will|
|00004910| 20 63 61 6e 63 65 6c 20 | 70 72 69 6e 74 69 6e 67 | cancel |printing|
|00004920| 2e 20 0d 41 20 73 61 6d | 70 6c 65 20 69 64 6c 65 |. .A sam|ple idle|
|00004930| 20 70 72 6f 63 65 64 75 | 72 65 0d 49 66 20 79 6f | procedu|re.If yo|
|00004940| 75 20 64 6f 6e d5 74 20 | 64 65 73 69 67 6e 61 74 |u don.t |designat|
|00004950| 65 20 61 20 69 64 6c 65 | 20 70 72 6f 63 65 64 75 |e a idle| procedu|
|00004960| 72 65 2c 20 74 68 65 20 | 50 72 69 6e 74 69 6e 67 |re, the |Printing|
|00004970| 20 4d 61 6e 61 67 65 72 | 20 75 73 65 73 20 69 74 | Manager| uses it|
|00004980| 73 20 64 65 66 61 75 6c | 74 20 69 64 6c 65 20 70 |s defaul|t idle p|
|00004990| 72 6f 63 65 64 75 72 65 | 2e 20 54 68 65 20 70 72 |rocedure|. The pr|
|000049a0| 69 6e 74 69 6e 67 20 6a | 6f 62 20 73 75 62 72 65 |inting j|ob subre|
|000049b0| 63 6f 72 64 20 6f 66 20 | 74 68 65 20 70 72 69 6e |cord of |the prin|
|000049c0| 74 20 72 65 63 6f 72 64 | 20 63 6f 6e 74 61 69 6e |t record| contain|
|000049d0| 73 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 |s a poin|ter to t|
|000049e0| 68 65 20 69 64 6c 65 20 | 70 72 6f 63 65 64 75 72 |he idle |procedur|
|000049f0| 65 20 69 6e 20 74 68 65 | 20 50 49 64 6c 65 50 72 |e in the| PIdlePr|
|00004a00| 6f 63 20 66 69 65 6c 64 | 2e 20 20 46 6f 72 20 6d |oc field|. For m|
|00004a10| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ore info|rmation |
|00004a20| 61 62 6f 75 74 20 77 68 | 61 74 20 74 6f 20 62 65 |about wh|at to be|
|00004a30| 20 61 77 61 72 65 20 6f | 66 20 77 68 65 6e 20 63 | aware o|f when c|
|00004a40| 72 65 61 74 69 6e 67 20 | 61 20 69 64 6c 65 20 70 |reating |a idle p|
|00004a50| 72 6f 63 65 64 75 72 65 | 2c 20 73 65 65 20 d2 57 |rocedure|, see .W|
|00004a60| 72 69 74 69 6e 67 20 61 | 6e 20 49 64 6c 65 20 50 |riting a|n Idle P|
|00004a70| 72 6f 63 65 64 75 72 65 | d3 20 6f 6e 20 70 61 67 |rocedure|. on pag|
|00004a80| 65 20 31 2d 32 35 2e 20 | 20 20 20 20 0d 55 73 69 |e 1-25. | .Usi|
|00004a90| 6e 67 20 74 68 65 20 50 | 72 69 6e 74 69 6e 67 20 |ng the P|rinting |
|00004aa0| 4d 61 6e 61 67 65 72 0d | 59 6f 75 20 63 61 6e 20 |Manager.|You can |
|00004ab0| 75 73 65 20 74 68 65 20 | 50 72 69 6e 74 69 6e 67 |use the |Printing|
|00004ac0| 20 4d 61 6e 61 67 65 72 | 20 74 6f 20 70 72 69 6e | Manager| to prin|
|00004ad0| 74 20 64 6f 63 75 6d 65 | 6e 74 73 2c 20 74 6f 20 |t docume|nts, to |
|00004ae0| 64 69 73 70 6c 61 79 20 | 61 6e 64 20 61 6c 74 65 |display |and alte|
|00004af0| 72 20 74 68 65 20 70 72 | 69 6e 74 69 6e 67 20 64 |r the pr|inting d|
|00004b00| 69 61 6c 6f 67 20 62 6f | 78 65 73 2c 20 61 6e 64 |ialog bo|xes, and|
|00004b10| 20 74 6f 20 68 61 6e 64 | 6c 65 20 70 72 69 6e 74 | to hand|le print|
|00004b20| 69 6e 67 20 65 72 72 6f | 72 73 2e 20 54 68 65 20 |ing erro|rs. The |
|00004b30| 50 72 69 6e 74 69 6e 67 | 20 4d 61 6e 61 67 65 72 |Printing| Manager|
|00004b40| 20 70 72 6f 76 69 64 65 | 73 20 72 6f 75 74 69 6e | provide|s routin|
|00004b50| 65 73 20 74 68 61 74 20 | 67 69 76 65 20 79 6f 75 |es that |give you|
|00004b60| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 64 65 |r applic|ation de|
|00004b70| 76 69 63 65 2d 69 6e 64 | 65 70 65 6e 64 65 6e 74 |vice-ind|ependent|
|00004b80| 20 63 6f 6e 74 72 6f 6c | 20 6f 76 65 72 20 74 68 | control| over th|
|00004b90| 65 20 70 72 69 6e 74 69 | 6e 67 20 70 72 6f 63 65 |e printi|ng proce|
|00004ba0| 73 73 2e 20 0d 41 6c 6c | 20 70 72 69 6e 74 61 62 |ss. .All| printab|
|00004bb0| 6c 65 20 64 6f 63 75 6d | 65 6e 74 73 20 6d 75 73 |le docum|ents mus|
|00004bc0| 74 20 68 61 76 65 20 61 | 20 70 72 69 6e 74 20 72 |t have a| print r|
|00004bd0| 65 63 6f 72 64 2e 20 45 | 61 63 68 20 70 72 69 6e |ecord. E|ach prin|
|00004be0| 74 20 72 65 63 6f 72 64 | 20 63 6f 6e 74 61 69 6e |t record| contain|
|00004bf0| 73 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |s inform|ation ab|
|00004c00| 6f 75 74 20 70 61 67 65 | 20 73 69 7a 65 2c 20 6e |out page| size, n|
|00004c10| 75 6d 62 65 72 20 6f 66 | 20 63 6f 70 69 65 73 20 |umber of| copies |
|00004c20| 72 65 71 75 65 73 74 65 | 64 2c 20 61 6e 64 20 74 |requeste|d, and t|
|00004c30| 68 65 20 70 61 67 65 73 | 20 74 68 65 20 75 73 65 |he pages| the use|
|00004c40| 72 20 77 61 6e 74 73 20 | 70 72 69 6e 74 65 64 2c |r wants |printed,|
|00004c50| 20 61 6d 6f 6e 67 20 6f | 74 68 65 72 20 74 68 69 | among o|ther thi|
|00004c60| 6e 67 73 2e 20 59 6f 75 | 20 73 68 6f 75 6c 64 20 |ngs. You| should |
|00004c70| 73 74 6f 72 65 20 74 68 | 69 73 20 70 72 69 6e 74 |store th|is print|
|00004c80| 20 72 65 63 6f 72 64 20 | 77 69 74 68 20 74 68 65 | record |with the|
|00004c90| 20 64 6f 63 75 6d 65 6e | 74 20 73 6f 20 74 68 61 | documen|t so tha|
|00004ca0| 74 20 79 6f 75 20 63 61 | 6e 20 73 61 76 65 20 74 |t you ca|n save t|
|00004cb0| 68 65 20 75 73 65 72 d5 | 73 20 70 72 65 66 65 72 |he user.|s prefer|
|00004cc0| 65 6e 63 65 73 2e 20 0d | 54 6f 20 70 72 69 6e 74 |ences. .|To print|
|00004cd0| 20 61 20 75 73 65 72 d5 | 73 20 64 6f 63 75 6d 65 | a user.|s docume|
|00004ce0| 6e 74 2c 20 66 69 72 73 | 74 20 63 72 65 61 74 65 |nt, firs|t create|
|00004cf0| 20 6f 72 20 76 61 6c 69 | 64 61 74 65 20 74 68 65 | or vali|date the|
|00004d00| 20 64 6f 63 75 6d 65 6e | 74 d5 73 20 70 72 69 6e | documen|t.s prin|
|00004d10| 74 20 72 65 63 6f 72 64 | 2e 20 54 68 65 6e 20 79 |t record|. Then y|
|00004d20| 6f 75 20 73 68 6f 75 6c | 64 20 68 61 76 65 20 61 |ou shoul|d have a|
|00004d30| 20 70 72 69 6e 74 69 6e | 67 20 6c 6f 6f 70 20 74 | printin|g loop t|
|00004d40| 68 61 74 20 68 61 6e 64 | 6c 65 73 20 70 72 69 6e |hat hand|les prin|
|00004d50| 74 69 6e 67 20 61 6e 64 | 20 63 68 65 63 6b 73 20 |ting and| checks |
|00004d60| 66 6f 72 20 70 72 69 6e | 74 69 6e 67 20 65 72 72 |for prin|ting err|
|00004d70| 6f 72 73 20 61 74 20 65 | 76 65 72 79 20 73 74 65 |ors at e|very ste|
|00004d80| 70 2e 20 20 0d 59 6f 75 | 20 73 68 6f 75 6c 64 20 |p. .You| should |
|00004d90| 6e 65 76 65 72 20 61 73 | 73 75 6d 65 20 77 68 61 |never as|sume wha|
|00004da0| 74 20 74 79 70 65 20 6f | 66 20 70 72 69 6e 74 65 |t type o|f printe|
|00004db0| 72 20 68 61 73 20 62 65 | 65 6e 20 73 65 6c 65 63 |r has be|en selec|
|00004dc0| 74 65 64 3b 20 74 68 61 | 74 20 69 73 2c 20 79 6f |ted; tha|t is, yo|
|00004dd0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |ur appli|cation s|
|00004de0| 68 6f 75 6c 64 20 61 6c | 77 61 79 73 20 62 65 20 |hould al|ways be |
|00004df0| 61 62 6c 65 20 74 6f 20 | 70 72 69 6e 74 20 74 6f |able to |print to|
|00004e00| 20 61 6e 79 20 74 79 70 | 65 20 6f 66 20 70 72 69 | any typ|e of pri|
|00004e10| 6e 74 65 72 2e 20 0d 54 | 6f 20 75 73 65 20 74 68 |nter. .T|o use th|
|00004e20| 65 20 50 72 69 6e 74 69 | 6e 67 20 4d 61 6e 61 67 |e Printi|ng Manag|
|00004e30| 65 72 2c 20 79 6f 75 20 | 6d 75 73 74 20 66 69 72 |er, you |must fir|
|00004e40| 73 74 20 69 6e 69 74 69 | 61 6c 69 7a 65 20 51 75 |st initi|alize Qu|
|00004e50| 69 63 6b 44 72 61 77 2c | 20 74 68 65 20 46 6f 6e |ickDraw,| the Fon|
|00004e60| 74 20 4d 61 6e 61 67 65 | 72 2c 20 74 68 65 20 57 |t Manage|r, the W|
|00004e70| 69 6e 64 6f 77 20 4d 61 | 6e 61 67 65 72 2c 20 74 |indow Ma|nager, t|
|00004e80| 68 65 20 4d 65 6e 75 20 | 4d 61 6e 61 67 65 72 2c |he Menu |Manager,|
|00004e90| 20 54 65 78 74 45 64 69 | 74 2c 20 61 6e 64 20 74 | TextEdi|t, and t|
|00004ea0| 68 65 20 44 69 61 6c 6f | 67 20 4d 61 6e 61 67 65 |he Dialo|g Manage|
|00004eb0| 72 2e 20 54 68 65 20 66 | 69 72 73 74 20 50 72 69 |r. The f|irst Pri|
|00004ec0| 6e 74 69 6e 67 20 4d 61 | 6e 61 67 65 72 20 72 6f |nting Ma|nager ro|
|00004ed0| 75 74 69 6e 65 20 74 6f | 20 63 61 6c 6c 20 69 73 |utine to| call is|
|00004ee0| 20 50 72 4f 70 65 6e 3b | 20 74 68 65 20 6c 61 73 | PrOpen;| the las|
|00004ef0| 74 20 72 6f 75 74 69 6e | 65 20 74 6f 20 63 61 6c |t routin|e to cal|
|00004f00| 6c 20 69 73 20 50 72 43 | 6c 6f 73 65 2e 0d 43 72 |l is PrC|lose..Cr|
|00004f10| 65 61 74 69 6e 67 20 61 | 6e 64 20 55 73 69 6e 67 |eating a|nd Using|
|00004f20| 20 74 68 65 20 50 72 69 | 6e 74 20 52 65 63 6f 72 | the Pri|nt Recor|
|00004f30| 64 0d 49 6e 20 6f 72 64 | 65 72 20 74 6f 20 70 72 |d.In ord|er to pr|
|00004f40| 69 6e 74 20 61 20 64 6f | 63 75 6d 65 6e 74 2c 20 |int a do|cument, |
|00004f50| 79 6f 75 20 6e 65 65 64 | 20 61 20 76 61 6c 69 64 |you need| a valid|
|00004f60| 20 70 72 69 6e 74 20 72 | 65 63 6f 72 64 20 74 68 | print r|ecord th|
|00004f70| 61 74 20 69 73 20 66 6f | 72 6d 61 74 74 65 64 20 |at is fo|rmatted |
|00004f80| 66 6f 72 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |for the |current |
|00004f90| 76 65 72 73 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |versions| of the |
|00004fa0| 50 72 69 6e 74 69 6e 67 | 20 4d 61 6e 61 67 65 72 |Printing| Manager|
|00004fb0| 20 61 6e 64 20 74 68 65 | 20 70 72 69 6e 74 65 72 | and the| printer|
|00004fc0| 20 64 72 69 76 65 72 2e | 20 54 68 65 20 70 72 69 | driver.| The pri|
|00004fd0| 6e 74 20 72 65 63 6f 72 | 64 20 68 61 73 20 69 6e |nt recor|d has in|
|00004fe0| 66 6f 72 6d 61 74 69 6f | 6e 20 73 75 63 68 20 61 |formatio|n such a|
|00004ff0| 73 20 74 68 65 20 76 65 | 72 74 69 63 61 6c 20 61 |s the ve|rtical a|
|00005000| 6e 64 20 68 6f 72 69 7a | 6f 6e 74 61 6c 20 72 65 |nd horiz|ontal re|
|00005010| 73 6f 6c 75 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |solution| of the |
|00005020| 70 72 69 6e 74 65 72 20 | 69 6e 20 64 70 69 2c 20 |printer |in dpi, |
|00005030| 74 68 65 20 62 6f 75 6e | 64 61 72 69 65 73 20 6f |the boun|daries o|
|00005040| 66 20 74 68 65 20 70 61 | 67 65 20 72 65 63 74 61 |f the pa|ge recta|
|00005050| 6e 67 6c 65 2c 20 74 68 | 65 20 6e 75 6d 62 65 72 |ngle, th|e number|
|00005060| 20 6f 66 20 63 6f 70 69 | 65 73 2c 20 61 6e 64 20 | of copi|es, and |
|00005070| 74 68 65 20 6d 65 74 68 | 6f 64 20 6f 66 20 70 72 |the meth|od of pr|
|00005080| 69 6e 74 69 6e 67 20 74 | 68 65 20 75 73 65 72 20 |inting t|he user |
|00005090| 68 61 73 20 72 65 71 75 | 65 73 74 65 64 2e 0d 54 |has requ|ested..T|
|000050a0| 6f 20 63 72 65 61 74 65 | 20 61 20 6e 65 77 20 70 |o create| a new p|
|000050b0| 72 69 6e 74 20 72 65 63 | 6f 72 64 2c 20 79 6f 75 |rint rec|ord, you|
|000050c0| 20 6d 75 73 74 20 66 69 | 72 73 74 20 63 72 65 61 | must fi|rst crea|
|000050d0| 74 65 20 61 20 68 61 6e | 64 6c 65 20 74 6f 20 69 |te a han|dle to i|
|000050e0| 74 20 77 69 74 68 20 74 | 68 65 20 4d 65 6d 6f 72 |t with t|he Memor|
|000050f0| 79 20 4d 61 6e 61 67 65 | 72 20 66 75 6e 63 74 69 |y Manage|r functi|
|00005100| 6f 6e 20 4e 65 77 48 61 | 6e 64 6c 65 2e 20 59 6f |on NewHa|ndle. Yo|
|00005110| 75 20 74 68 65 6e 20 6d | 75 73 74 20 66 69 6c 6c |u then m|ust fill|
|00005120| 20 74 68 65 20 66 69 65 | 6c 64 73 20 6f 66 20 74 | the fie|lds of t|
|00005130| 68 65 20 72 65 63 6f 72 | 64 20 77 69 74 68 20 61 |he recor|d with a|
|00005140| 70 70 72 6f 70 72 69 61 | 74 65 20 76 61 6c 75 65 |ppropria|te value|
|00005150| 73 3b 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |s; for e|xample, |
|00005160| 75 73 65 20 50 72 69 6e | 74 44 65 66 61 75 6c 74 |use Prin|tDefault|
|00005170| 20 74 6f 20 73 65 74 20 | 74 68 65 20 66 69 65 6c | to set |the fiel|
|00005180| 64 73 20 74 6f 20 74 68 | 65 20 64 65 66 61 75 6c |ds to th|e defaul|
|00005190| 74 20 76 61 6c 75 65 73 | 20 73 74 6f 72 65 64 20 |t values| stored |
|000051a0| 69 6e 20 74 68 65 20 70 | 72 69 6e 74 65 72 20 64 |in the p|rinter d|
|000051b0| 72 69 76 65 72 2e 20 0d | 70 72 52 65 63 48 64 6c |river. .|prRecHdl|
|000051c0| 20 3a 3d 20 54 48 50 72 | 69 6e 74 28 4e 65 77 48 | := THPr|int(NewH|
|000051d0| 61 6e 64 6c 65 28 53 49 | 5a 45 4f 46 28 54 50 72 |andle(SI|ZEOF(TPr|
|000051e0| 69 6e 74 29 29 29 3b 0d | 50 72 69 6e 74 44 65 66 |int)));.|PrintDef|
|000051f0| 61 75 6c 74 28 70 72 52 | 65 63 48 64 6c 29 3b 0d |ault(prR|ecHdl);.|
|00005200| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 61 6e 20 65 |You can |use an e|
|00005210| 78 69 73 74 69 6e 67 20 | 70 72 69 6e 74 20 72 65 |xisting |print re|
|00005220| 63 6f 72 64 20 28 66 6f | 72 20 69 6e 73 74 61 6e |cord (fo|r instan|
|00005230| 63 65 2c 20 6f 6e 65 20 | 73 61 76 65 64 20 77 69 |ce, one |saved wi|
|00005240| 74 68 20 61 20 64 6f 63 | 75 6d 65 6e 74 29 2e 20 |th a doc|ument). |
|00005250| 49 66 20 79 6f 75 20 75 | 73 65 20 61 6e 20 65 78 |If you u|se an ex|
|00005260| 69 73 74 69 6e 67 20 70 | 72 69 6e 74 20 72 65 63 |isting p|rint rec|
|00005270| 6f 72 64 2c 20 62 65 20 | 73 75 72 65 20 74 6f 20 |ord, be |sure to |
|00005280| 63 61 6c 6c 20 74 68 65 | 20 50 72 56 61 6c 69 64 |call the| PrValid|
|00005290| 61 74 65 20 66 75 6e 63 | 74 69 6f 6e 20 62 65 66 |ate func|tion bef|
|000052a0| 6f 72 65 20 75 73 69 6e | 67 20 74 68 65 20 70 72 |ore usin|g the pr|
|000052b0| 69 6e 74 20 72 65 63 6f | 72 64 20 74 6f 20 6d 61 |int reco|rd to ma|
|000052c0| 6b 65 20 73 75 72 65 20 | 69 74 d5 73 20 76 61 6c |ke sure |it.s val|
|000052d0| 69 64 20 66 6f 72 20 74 | 68 65 20 63 75 72 72 65 |id for t|he curre|
|000052e0| 6e 74 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |nt versi|on of th|
|000052f0| 65 20 50 72 69 6e 74 69 | 6e 67 20 4d 61 6e 61 67 |e Printi|ng Manag|
|00005300| 65 72 20 61 6e 64 20 66 | 6f 72 20 74 68 65 20 63 |er and f|or the c|
|00005310| 75 72 72 65 6e 74 6c 79 | 20 69 6e 73 74 61 6c 6c |urrently| install|
|00005320| 65 64 20 70 72 69 6e 74 | 65 72 2e 20 0d 59 6f 75 |ed print|er. .You|
|00005330| 20 73 68 6f 75 6c 64 20 | 73 61 76 65 20 74 68 65 | should |save the|
|00005340| 20 70 72 69 6e 74 20 72 | 65 63 6f 72 64 20 77 68 | print r|ecord wh|
|00005350| 65 6e 20 74 68 65 20 75 | 73 65 72 20 63 6c 6f 73 |en the u|ser clos|
|00005360| 65 73 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 2e |es the d|ocument.|
|00005370| 20 54 68 69 73 20 73 61 | 76 65 73 20 61 6e 79 20 | This sa|ves any |
|00005380| 70 72 65 66 65 72 65 6e | 63 65 73 20 74 68 61 74 |preferen|ces that|
|00005390| 20 74 68 65 20 75 73 65 | 72 20 68 61 73 20 73 65 | the use|r has se|
|000053a0| 6c 65 63 74 65 64 20 66 | 6f 72 20 70 72 69 6e 74 |lected f|or print|
|000053b0| 69 6e 67 20 74 68 61 74 | 20 64 6f 63 75 6d 65 6e |ing that| documen|
|000053c0| 74 2c 20 73 75 63 68 20 | 61 73 20 6f 72 69 65 6e |t, such |as orien|
|000053d0| 74 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 70 61 |tation o|f the pa|
|000053e0| 67 65 20 6f 72 20 70 61 | 67 65 20 73 69 7a 65 2e |ge or pa|ge size.|
|000053f0| 20 0d 4d 61 6e 79 20 6f | 66 20 74 68 65 20 66 69 | .Many o|f the fi|
|00005400| 65 6c 64 73 20 69 6e 20 | 74 68 65 20 70 72 69 6e |elds in |the prin|
|00005410| 74 20 72 65 63 6f 72 64 | 20 61 72 65 20 72 65 73 |t record| are res|
|00005420| 65 72 76 65 64 20 66 6f | 72 20 75 73 65 20 62 79 |erved fo|r use by|
|00005430| 20 41 70 70 6c 65 20 61 | 6e 64 20 74 68 65 79 20 | Apple a|nd they |
|00005440| 61 72 65 20 6c 69 6b 65 | 6c 79 20 74 6f 20 63 68 |are like|ly to ch|
|00005450| 61 6e 67 65 20 77 69 74 | 68 6f 75 74 20 6e 6f 74 |ange wit|hout not|
|00005460| 69 63 65 2e 20 41 6c 73 | 6f 2c 20 65 76 65 72 79 |ice. Als|o, every|
|00005470| 20 70 72 69 6e 74 65 72 | 20 64 72 69 76 65 72 20 | printer| driver |
|00005480| 75 73 65 73 20 74 68 65 | 20 66 69 65 6c 64 73 20 |uses the| fields |
|00005490| 6f 66 20 74 68 65 20 70 | 72 69 6e 74 20 72 65 63 |of the p|rint rec|
|000054a0| 6f 72 64 20 64 69 66 66 | 65 72 65 6e 74 6c 79 2e |ord diff|erently.|
|000054b0| 20 49 6e 20 6f 72 64 65 | 72 20 74 6f 20 6d 61 69 | In orde|r to mai|
|000054c0| 6e 74 61 69 6e 20 63 6f | 6d 70 61 74 69 62 69 6c |ntain co|mpatibil|
|000054d0| 69 74 79 20 77 69 74 68 | 20 74 68 65 20 50 72 69 |ity with| the Pri|
|000054e0| 6e 74 69 6e 67 20 4d 61 | 6e 61 67 65 72 2c 20 74 |nting Ma|nager, t|
|000054f0| 68 65 72 65 20 61 72 65 | 20 73 6f 6d 65 20 67 75 |here are| some gu|
|00005500| 69 64 65 6c 69 6e 65 73 | 20 79 6f 75 20 73 68 6f |idelines| you sho|
|00005510| 75 6c 64 20 66 6f 6c 6c | 6f 77 3a 0d 6e 09 44 6f |uld foll|ow:.n.Do|
|00005520| 20 6e 6f 74 20 74 65 73 | 74 20 66 6f 72 20 74 68 | not tes|t for th|
|00005530| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 75 6e |e conten|ts of un|
|00005540| 64 6f 63 75 6d 65 6e 74 | 65 64 20 66 69 65 6c 64 |document|ed field|
|00005550| 73 2e 0d 6e 09 44 6f 20 | 6e 6f 74 20 73 65 74 20 |s..n.Do |not set |
|00005560| 66 69 65 6c 64 73 20 69 | 6e 20 74 68 65 20 70 72 |fields i|n the pr|
|00005570| 69 6e 74 20 72 65 63 6f | 72 64 20 64 69 72 65 63 |int reco|rd direc|
|00005580| 74 6c 79 2e 0d 6e 09 59 | 6f 75 20 73 68 6f 75 6c |tly..n.Y|ou shoul|
|00005590| 64 20 75 73 65 20 74 68 | 65 20 65 78 69 73 74 69 |d use th|e existi|
|000055a0| 6e 67 20 70 72 69 6e 74 | 20 64 69 61 6c 6f 67 20 |ng print| dialog |
|000055b0| 62 6f 78 65 73 2c 20 6f | 72 2c 20 69 66 20 79 6f |boxes, o|r, if yo|
|000055c0| 75 20 77 61 6e 74 20 74 | 6f 20 63 75 73 74 6f 6d |u want t|o custom|
|000055d0| 69 7a 65 20 74 68 65 6d | 2c 20 61 6c 74 65 72 20 |ize them|, alter |
|000055e0| 74 68 65 6d 20 6f 6e 6c | 79 20 61 73 20 72 65 63 |them onl|y as rec|
|000055f0| 6f 6d 6d 65 6e 64 65 64 | 20 69 6e 20 d2 41 6c 74 |ommended| in .Alt|
|00005600| 65 72 69 6e 67 20 74 68 | 65 20 53 74 79 6c 65 20 |ering th|e Style |
|00005610| 6f 72 20 4a 6f 62 20 44 | 69 61 6c 6f 67 20 42 6f |or Job D|ialog Bo|
|00005620| 78 d3 20 6f 6e 20 70 61 | 67 65 20 31 2d 32 33 2e |x. on pa|ge 1-23.|
|00005630| 0d 50 72 69 6e 74 69 6e | 67 20 61 20 44 6f 63 75 |.Printin|g a Docu|
|00005640| 6d 65 6e 74 0d 54 68 65 | 20 70 72 69 6e 74 69 6e |ment.The| printin|
|00005650| 67 20 6c 6f 6f 70 20 63 | 61 6c 6c 73 20 61 6c 6c |g loop c|alls all|
|00005660| 20 74 68 65 20 50 72 69 | 6e 74 69 6e 67 20 4d 61 | the Pri|nting Ma|
|00005670| 6e 61 67 65 72 20 72 6f | 75 74 69 6e 65 73 20 6e |nager ro|utines n|
|00005680| 65 63 65 73 73 61 72 79 | 20 74 6f 20 70 72 69 6e |ecessary| to prin|
|00005690| 74 20 61 20 64 6f 63 75 | 6d 65 6e 74 2e 20 54 68 |t a docu|ment. Th|
|000056a0| 65 20 67 65 6e 65 72 61 | 6c 20 70 72 69 6e 74 69 |e genera|l printi|
|000056b0| 6e 67 20 6c 6f 6f 70 20 | 73 68 6f 77 6e 20 69 6e |ng loop |shown in|
|000056c0| 20 4c 69 73 74 69 6e 67 | 20 31 2d 31 20 69 73 20 | Listing| 1-1 is |
|000056d0| 61 6e 20 65 78 74 72 65 | 6d 65 6c 79 20 62 72 6f |an extre|mely bro|
|000056e0| 61 64 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 61 20 |ad examp|le of a |
|000056f0| 70 72 69 6e 74 69 6e 67 | 20 6c 6f 6f 70 d1 66 6f |printing| loop.fo|
|00005700| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 63 |r exampl|e, the c|
|00005710| 6f 64 65 20 64 6f 65 73 | 20 6e 6f 74 20 6f 70 74 |ode does| not opt|
|00005720| 69 6d 69 7a 65 20 66 6f | 72 20 74 68 65 20 74 79 |imize fo|r the ty|
|00005730| 70 65 20 6f 66 20 20 70 | 72 69 6e 74 65 72 20 62 |pe of p|rinter b|
|00005740| 65 69 6e 67 20 75 73 65 | 64 20 6e 6f 72 20 66 6f |eing use|d nor fo|
|00005750| 72 20 74 68 65 20 6d 61 | 74 65 72 69 61 6c 20 62 |r the ma|terial b|
|00005760| 65 69 6e 67 20 70 72 69 | 6e 74 65 64 20 28 74 65 |eing pri|nted (te|
|00005770| 78 74 2c 20 67 72 61 70 | 68 69 63 73 2c 20 6f 72 |xt, grap|hics, or|
|00005780| 20 61 20 6d 69 78 74 75 | 72 65 20 6f 66 20 62 6f | a mixtu|re of bo|
|00005790| 74 68 29 2e 20 48 6f 77 | 65 76 65 72 2c 20 69 74 |th). How|ever, it|
|000057a0| 20 64 6f 65 73 20 63 6f | 76 65 72 20 74 68 65 20 | does co|ver the |
|000057b0| 6d 61 6a 6f 72 20 61 73 | 70 65 63 74 73 20 6f 66 |major as|pects of|
|000057c0| 20 77 68 61 74 20 69 73 | 20 6e 65 65 64 65 64 20 | what is| needed |
|000057d0| 69 6e 20 61 20 70 72 69 | 6e 74 69 6e 67 20 6c 6f |in a pri|nting lo|
|000057e0| 6f 70 3a 20 74 68 65 20 | 62 61 6c 61 6e 63 65 20 |op: the |balance |
|000057f0| 6f 66 20 6f 70 65 6e 20 | 61 6e 64 20 63 6c 6f 73 |of open |and clos|
|00005800| 65 20 63 61 6c 6c 73 2c | 20 64 65 74 65 72 6d 69 |e calls,| determi|
|00005810| 6e 69 6e 67 20 70 61 67 | 65 20 63 6f 75 6e 74 2c |ning pag|e count,|
|00005820| 20 61 6e 64 20 70 72 6f | 76 69 64 69 6e 67 20 73 | and pro|viding s|
|00005830| 75 70 70 6f 72 74 20 66 | 6f 72 20 64 6f 63 75 6d |upport f|or docum|
|00005840| 65 6e 74 73 20 6c 6f 6e | 67 65 72 20 74 68 61 6e |ents lon|ger than|
|00005850| 20 74 68 65 20 6d 61 78 | 69 6d 75 6d 20 6e 61 6d | the max|imum nam|
|00005860| 65 64 20 62 79 20 74 68 | 65 20 50 72 69 6e 74 69 |ed by th|e Printi|
|00005870| 6e 67 20 4d 61 6e 61 67 | 65 72 20 63 6f 6e 73 74 |ng Manag|er const|
|00005880| 61 6e 74 20 69 50 46 4d | 61 78 50 67 73 2e 20 0d |ant iPFM|axPgs. .|
|00005890| 54 68 65 20 70 72 69 6e | 74 69 6e 67 20 6c 6f 6f |The prin|ting loo|
|000058a0| 70 20 73 74 61 72 74 73 | 20 62 79 20 67 65 74 74 |p starts| by gett|
|000058b0| 69 6e 67 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f |ing a po|inter to|
|000058c0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 67 72 61 | the cur|rent gra|
|000058d0| 66 50 6f 72 74 2e 20 54 | 68 65 6e 20 69 74 20 63 |fPort. T|hen it c|
|000058e0| 61 6c 6c 73 20 61 20 72 | 6f 75 74 69 6e 65 2c 20 |alls a r|outine, |
|000058f0| 4d 79 55 6e 6c 6f 61 64 | 54 68 65 57 6f 72 6c 64 |MyUnload|TheWorld|
|00005900| 2c 20 74 68 61 74 20 73 | 77 61 70 73 20 6f 75 74 |, that s|waps out|
|00005910| 20 63 6f 64 65 20 73 65 | 67 6d 65 6e 74 73 20 6e | code se|gments n|
|00005920| 6f 74 20 72 65 71 75 69 | 72 65 64 20 64 75 72 69 |ot requi|red duri|
|00005930| 6e 67 20 70 72 69 6e 74 | 69 6e 67 2e 20 28 54 68 |ng print|ing. (Th|
|00005940| 65 20 73 70 65 63 69 66 | 69 63 73 20 6f 66 20 74 |e specif|ics of t|
|00005950| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 61 72 65 20 |his rout|ine are |
|00005960| 6c 65 66 74 20 75 70 20 | 74 6f 20 74 68 65 20 69 |left up |to the i|
|00005970| 6e 64 69 76 69 64 75 61 | 6c 20 61 70 70 6c 69 63 |ndividua|l applic|
|00005980| 61 74 69 6f 6e 2e 29 20 | 41 74 20 74 68 69 73 20 |ation.) |At this |
|00005990| 70 6f 69 6e 74 2c 20 69 | 74 20 6f 70 65 6e 73 20 |point, i|t opens |
|000059a0| 74 68 65 20 50 72 69 6e | 74 69 6e 67 20 4d 61 6e |the Prin|ting Man|
|000059b0| 61 67 65 72 2c 20 70 72 | 69 6e 74 65 72 20 64 72 |ager, pr|inter dr|
|000059c0| 69 76 65 72 2c 20 61 6e | 64 20 70 72 69 6e 74 65 |iver, an|d printe|
|000059d0| 72 20 72 65 73 6f 75 72 | 63 65 20 66 69 6c 65 20 |r resour|ce file |
|000059e0| 66 6f 72 20 75 73 65 20 | 62 79 20 63 61 6c 6c 69 |for use |by calli|
|000059f0| 6e 67 20 50 72 4f 70 65 | 6e 2e 0d 54 68 65 20 6c |ng PrOpe|n..The l|
|00005a00| 6f 6f 70 20 73 61 76 65 | 73 20 74 68 65 20 64 72 |oop save|s the dr|
|00005a10| 69 76 65 72 d5 73 20 72 | 65 73 6f 75 72 63 65 20 |iver.s r|esource |
|00005a20| 66 69 6c 65 20 73 6f 20 | 74 68 61 74 20 69 66 20 |file so |that if |
|00005a30| 79 6f 75 72 20 69 64 6c | 65 20 70 72 6f 63 65 64 |your idl|e proced|
|00005a40| 75 72 65 20 63 68 61 6e | 67 65 73 20 74 68 65 20 |ure chan|ges the |
|00005a50| 72 65 73 6f 75 72 63 65 | 20 63 68 61 69 6e 20 69 |resource| chain i|
|00005a60| 6e 20 61 6e 79 20 77 61 | 79 2c 20 74 68 65 20 64 |n any wa|y, the d|
|00005a70| 72 69 76 65 72 20 64 6f | 65 73 20 6e 6f 74 20 6c |river do|es not l|
|00005a80| 6f 73 65 20 69 74 73 20 | 72 65 73 6f 75 72 63 65 |ose its |resource|
|00005a90| 73 2e 20 28 53 65 65 20 | d2 57 72 69 74 69 6e 67 |s. (See |.Writing|
|00005aa0| 20 61 6e 20 49 64 6c 65 | 20 50 72 6f 63 65 64 75 | an Idle| Procedu|
|00005ab0| 72 65 d3 20 6f 6e 20 70 | 61 67 65 20 31 2d 32 35 |re. on p|age 1-25|
|00005ac0| 2e 29 20 54 68 65 20 50 | 72 69 6e 74 44 65 66 61 |.) The P|rintDefa|
|00005ad0| 75 6c 74 20 70 72 6f 63 | 65 64 75 72 65 20 66 69 |ult proc|edure fi|
|00005ae0| 6c 6c 73 20 74 68 65 20 | 70 72 69 6e 74 20 72 65 |lls the |print re|
|00005af0| 63 6f 72 64 20 77 69 74 | 68 20 74 68 65 20 64 65 |cord wit|h the de|
|00005b00| 66 61 75 6c 74 20 76 61 | 6c 75 65 73 20 73 70 65 |fault va|lues spe|
|00005b10| 63 69 66 69 65 64 20 62 | 79 20 74 68 65 20 63 75 |cified b|y the cu|
|00005b20| 72 72 65 6e 74 20 70 72 | 69 6e 74 65 72 20 64 72 |rrent pr|inter dr|
|00005b30| 69 76 65 72 3b 20 74 68 | 65 20 75 73 65 72 20 6d |iver; th|e user m|
|00005b40| 61 79 20 63 68 61 6e 67 | 65 20 74 68 65 73 65 20 |ay chang|e these |
|00005b50| 76 61 6c 75 65 73 20 77 | 69 74 68 20 74 68 65 20 |values w|ith the |
|00005b60| 73 74 79 6c 65 20 61 6e | 64 20 6a 6f 62 20 64 69 |style an|d job di|
|00005b70| 61 6c 6f 67 20 62 6f 78 | 65 73 2e 20 0d 49 6e 20 |alog box|es. .In |
|00005b80| 6f 72 64 65 72 20 74 6f | 20 70 72 69 6e 74 20 74 |order to| print t|
|00005b90| 68 65 20 64 6f 63 75 6d | 65 6e 74 2c 20 79 6f 75 |he docum|ent, you|
|00005ba0| 20 6d 75 73 74 20 64 69 | 76 69 64 65 20 74 68 65 | must di|vide the|
|00005bb0| 20 64 61 74 61 20 69 6e | 74 6f 20 73 65 63 74 69 | data in|to secti|
|00005bc0| 6f 6e 73 20 74 68 61 74 | 20 66 69 74 20 77 69 74 |ons that| fit wit|
|00005bd0| 68 69 6e 20 74 68 65 20 | 70 61 67 65 20 72 65 63 |hin the |page rec|
|00005be0| 74 61 6e 67 6c 65 20 64 | 69 6d 65 6e 73 69 6f 6e |tangle d|imension|
|00005bf0| 73 20 73 65 74 20 62 79 | 20 74 68 65 20 75 73 65 |s set by| the use|
|00005c00| 72 20 69 6e 20 74 68 65 | 20 73 74 79 6c 65 20 64 |r in the| style d|
|00005c10| 69 61 6c 6f 67 20 62 6f | 78 20 61 6e 64 20 73 74 |ialog bo|x and st|
|00005c20| 6f 72 65 64 20 69 6e 20 | 74 68 65 20 72 50 61 67 |ored in |the rPag|
|00005c30| 65 20 66 69 65 6c 64 20 | 6f 66 20 74 68 65 20 70 |e field |of the p|
|00005c40| 72 69 6e 74 69 6e 67 20 | 6a 6f 62 20 72 65 63 6f |rinting |job reco|
|00005c50| 72 64 2e 20 54 68 65 20 | 4d 79 44 65 74 65 72 6d |rd. The |MyDeterm|
|00005c60| 69 6e 65 4e 75 6d 4f 66 | 50 61 67 65 73 20 66 75 |ineNumOf|Pages fu|
|00005c70| 6e 63 74 69 6f 6e 20 6d | 75 73 74 20 62 65 20 73 |nction m|ust be s|
|00005c80| 70 65 63 69 66 69 63 20 | 74 6f 20 74 68 65 20 61 |pecific |to the a|
|00005c90| 70 70 6c 69 63 61 74 69 | 6f 6e 2c 20 62 65 63 61 |pplicati|on, beca|
|00005ca0| 75 73 65 20 74 68 65 20 | 77 61 79 20 74 68 65 20 |use the |way the |
|00005cb0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 64 69 76 69 |applicat|ion divi|
|00005cc0| 64 65 73 20 75 70 20 74 | 68 65 20 64 61 74 61 20 |des up t|he data |
|00005cd0| 64 65 70 65 6e 64 73 20 | 6f 6e 20 74 68 65 20 74 |depends |on the t|
|00005ce0| 79 70 65 20 6f 66 20 74 | 65 78 74 20 61 6e 64 20 |ype of t|ext and |
|00005cf0| 67 72 61 70 68 69 63 73 | 20 69 6e 20 74 68 65 20 |graphics| in the |
|00005d00| 64 6f 63 75 6d 65 6e 74 | 2e 20 0d 41 66 74 65 72 |document|. .After|
|00005d10| 20 64 65 74 65 72 6d 69 | 6e 69 6e 67 20 74 68 65 | determi|ning the|
|00005d20| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 61 67 65 73 | number |of pages|
|00005d30| 2c 20 74 68 65 20 70 72 | 69 6e 74 69 6e 67 20 6c |, the pr|inting l|
|00005d40| 6f 6f 70 20 70 72 65 73 | 65 6e 74 73 20 74 68 65 |oop pres|ents the|
|00005d50| 20 75 73 65 72 20 77 69 | 74 68 20 74 68 65 20 6a | user wi|th the j|
|00005d60| 6f 62 20 64 69 61 6c 6f | 67 20 62 6f 78 2e 20 54 |ob dialo|g box. T|
|00005d70| 68 65 20 75 73 65 72 d5 | 73 20 72 65 73 70 6f 6e |he user.|s respon|
|00005d80| 73 65 73 20 68 65 72 65 | 20 70 72 6f 76 69 64 65 |ses here| provide|
|00005d90| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 73 75 63 | informa|tion suc|
|00005da0| 68 20 61 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |h as the| number |
|00005db0| 6f 66 20 74 68 65 20 63 | 6f 70 69 65 73 20 61 6e |of the c|opies an|
|00005dc0| 64 20 74 68 65 20 70 61 | 67 65 20 6e 75 6d 62 65 |d the pa|ge numbe|
|00005dd0| 72 73 20 6f 66 20 74 68 | 65 20 66 69 72 73 74 20 |rs of th|e first |
|00005de0| 61 6e 64 20 6c 61 73 74 | 20 70 61 67 65 73 20 72 |and last| pages r|
|00005df0| 65 71 75 65 73 74 65 64 | 2e 20 54 68 65 20 6c 6f |equested|. The lo|
|00005e00| 6f 70 20 73 74 6f 72 65 | 73 20 74 68 65 73 65 20 |op store|s these |
|00005e10| 76 61 6c 75 65 73 20 69 | 6e 20 6c 6f 63 61 6c 20 |values i|n local |
|00005e20| 76 61 72 69 61 62 6c 65 | 73 20 73 75 63 68 20 61 |variable|s such a|
|00005e30| 73 20 66 69 72 73 74 50 | 61 67 65 20 61 6e 64 20 |s firstP|age and |
|00005e40| 6c 61 73 74 50 61 67 65 | 2e 20 49 74 20 74 68 65 |lastPage|. It the|
|00005e50| 6e 20 72 65 73 65 74 73 | 20 74 68 65 20 76 61 6c |n resets| the val|
|00005e60| 75 65 73 20 6f 66 20 74 | 68 65 20 66 69 72 73 74 |ues of t|he first|
|00005e70| 20 61 6e 64 20 6c 61 73 | 74 20 70 61 67 65 73 20 | and las|t pages |
|00005e80| 69 6e 20 74 68 65 20 70 | 72 69 6e 74 69 6e 67 20 |in the p|rinting |
|00005e90| 6a 6f 62 20 72 65 63 6f | 72 64 20 61 73 20 31 20 |job reco|rd as 1 |
|00005ea0| 61 6e 64 20 39 39 39 39 | 20 28 75 73 69 6e 67 20 |and 9999| (using |
|00005eb0| 74 68 65 20 63 6f 6e 73 | 74 61 6e 74 20 69 50 72 |the cons|tant iPr|
|00005ec0| 50 67 4d 61 78 29 2e 20 | 0d 54 68 65 20 6c 6f 6f |PgMax). |.The loo|
|00005ed0| 70 20 63 6f 6d 70 61 72 | 65 73 20 74 68 65 20 76 |p compar|es the v|
|00005ee0| 61 6c 75 65 73 20 6f 66 | 20 74 68 65 20 6e 75 6d |alues of| the num|
|00005ef0| 62 65 72 20 6f 66 20 70 | 61 67 65 73 20 69 6e 20 |ber of p|ages in |
|00005f00| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 20 77 69 74 |the docu|ment wit|
|00005f10| 68 20 74 68 65 20 6c 61 | 73 74 20 70 61 67 65 20 |h the la|st page |
|00005f20| 74 68 65 20 75 73 65 72 | 20 72 65 71 75 65 73 74 |the user| request|
|00005f30| 65 64 2e 20 49 66 20 74 | 68 65 20 75 73 65 72 20 |ed. If t|he user |
|00005f40| 68 61 73 20 72 65 71 75 | 65 73 74 65 64 20 74 68 |has requ|ested th|
|00005f50| 65 20 70 72 69 6e 74 69 | 6e 67 20 6c 6f 6f 70 20 |e printi|ng loop |
|00005f60| 74 6f 20 70 72 69 6e 74 | 20 70 61 67 65 20 35 30 |to print| page 50|
|00005f70| 20 6f 66 20 61 20 74 77 | 6f 2d 70 61 67 65 20 64 | of a tw|o-page d|
|00005f80| 6f 63 75 6d 65 6e 74 2c | 20 74 68 65 20 70 72 69 |ocument,| the pri|
|00005f90| 6e 74 69 6e 67 20 6c 6f | 6f 70 20 72 65 73 65 74 |nting lo|op reset|
|00005fa0| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |s the va|lue of t|
|00005fb0| 68 65 20 6c 61 73 74 20 | 70 61 67 65 20 74 6f 20 |he last |page to |
|00005fc0| 32 2e 20 54 68 69 73 20 | 61 76 6f 69 64 73 20 70 |2. This |avoids p|
|00005fd0| 72 69 6e 74 69 6e 67 20 | 65 72 72 6f 72 73 20 6c |rinting |errors l|
|00005fe0| 61 74 65 72 20 6f 6e 20 | 69 6e 20 74 68 65 20 6c |ater on |in the l|
|00005ff0| 6f 6f 70 2e 20 20 0d 41 | 74 20 74 68 69 73 20 70 |oop. .A|t this p|
|00006000| 6f 69 6e 74 2c 20 74 68 | 65 20 6c 6f 6f 70 20 62 |oint, th|e loop b|
|00006010| 65 67 69 6e 73 20 74 68 | 65 20 70 72 6f 63 65 73 |egins th|e proces|
|00006020| 73 20 6f 66 20 73 65 6e | 64 69 6e 67 20 74 68 65 |s of sen|ding the|
|00006030| 20 70 61 67 65 73 20 6f | 66 66 20 74 6f 20 62 65 | pages o|ff to be|
|00006040| 20 70 72 69 6e 74 65 64 | 2e 20 49 74 20 70 75 74 | printed|. It put|
|00006050| 73 20 75 70 20 74 68 65 | 20 64 69 61 6c 6f 67 20 |s up the| dialog |
|00006060| 62 6f 78 20 6f 66 20 74 | 68 65 20 69 64 6c 65 20 |box of t|he idle |
|00006070| 70 72 6f 63 65 64 75 72 | 65 20 61 6e 64 20 72 65 |procedur|e and re|
|00006080| 73 74 6f 72 65 73 20 74 | 68 65 20 70 72 69 6e 74 |stores t|he print|
|00006090| 65 72 20 64 72 69 76 65 | 72 d5 73 20 72 65 73 6f |er drive|r.s reso|
|000060a0| 75 72 63 65 20 63 68 61 | 69 6e 2e 20 0d 4f 6e 63 |urce cha|in. .Onc|
|000060b0| 65 20 69 6e 20 74 68 65 | 20 70 61 67 65 20 6c 6f |e in the| page lo|
|000060c0| 6f 70 2c 20 74 68 65 20 | 70 72 69 6e 74 69 6e 67 |op, the |printing|
|000060d0| 20 6c 6f 6f 70 20 63 68 | 65 63 6b 73 20 74 6f 20 | loop ch|ecks to |
|000060e0| 73 65 65 20 69 66 20 74 | 68 65 20 73 69 7a 65 20 |see if t|he size |
|000060f0| 6f 66 20 74 68 65 20 66 | 69 6c 65 20 69 73 20 67 |of the f|ile is g|
|00006100| 72 65 61 74 65 72 20 74 | 68 61 6e 20 74 68 65 20 |reater t|han the |
|00006110| 6d 61 78 69 6d 75 6d 20 | 6e 75 6d 62 65 72 20 6f |maximum |number o|
|00006120| 66 20 70 61 67 65 73 20 | 74 68 61 74 20 63 61 6e |f pages |that can|
|00006130| 20 62 65 20 70 72 69 6e | 74 65 64 20 28 67 69 76 | be prin|ted (giv|
|00006140| 65 6e 20 62 79 20 74 68 | 65 20 63 6f 6e 73 74 61 |en by th|e consta|
|00006150| 6e 74 20 20 69 50 46 4d | 61 78 50 67 73 29 2e 20 |nt iPFM|axPgs). |
|00006160| 49 66 20 74 68 65 20 75 | 73 65 72 20 68 61 73 20 |If the u|ser has |
|00006170| 63 68 6f 73 65 6e 20 69 | 6d 6d 65 64 69 61 74 65 |chosen i|mmediate|
|00006180| 20 70 72 69 6e 74 69 6e | 67 2c 20 79 6f 75 72 20 | printin|g, your |
|00006190| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 63 61 6e 20 |applicat|ion can |
|000061a0| 70 72 69 6e 74 20 69 50 | 46 4d 61 78 50 67 73 20 |print iP|FMaxPgs |
|000061b0| 6e 75 6d 62 65 72 20 6f | 66 20 70 61 67 65 73 20 |number o|f pages |
|000061c0| 61 6e 64 20 74 68 65 6e | 20 62 65 67 69 6e 20 74 |and then| begin t|
|000061d0| 68 65 20 70 72 69 6e 74 | 69 6e 67 20 6c 6f 6f 70 |he print|ing loop|
|000061e0| 20 61 67 61 69 6e 20 77 | 69 74 68 20 74 68 65 20 | again w|ith the |
|000061f0| 6e 65 78 74 20 73 65 63 | 74 69 6f 6e 20 6f 66 20 |next sec|tion of |
|00006200| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 2e 20 49 66 |the docu|ment. If|
|00006210| 20 74 68 65 20 75 73 65 | 72 20 68 61 73 20 63 68 | the use|r has ch|
|00006220| 6f 73 65 6e 20 64 65 66 | 65 72 72 65 64 20 70 72 |osen def|erred pr|
|00006230| 69 6e 74 69 6e 67 20 61 | 6e 64 20 74 68 65 20 66 |inting a|nd the f|
|00006240| 69 6c 65 20 69 73 20 6c | 61 72 67 65 72 20 74 68 |ile is l|arger th|
|00006250| 61 6e 20 69 50 46 4d 61 | 78 50 67 73 2c 20 74 68 |an iPFMa|xPgs, th|
|00006260| 65 20 6c 6f 6f 70 20 63 | 6c 6f 73 65 73 20 74 68 |e loop c|loses th|
|00006270| 65 20 64 6f 63 75 6d 65 | 6e 74 20 61 6e 64 20 73 |e docume|nt and s|
|00006280| 65 6e 64 73 20 74 68 65 | 20 66 69 72 73 74 20 31 |ends the| first 1|
|00006290| 32 38 20 70 61 67 65 73 | 20 74 6f 20 61 20 73 70 |28 pages| to a sp|
|000062a0| 6f 6f 6c 20 66 69 6c 65 | 20 74 6f 20 62 65 20 70 |ool file| to be p|
|000062b0| 72 69 6e 74 65 64 2e 20 | 59 6f 75 20 74 68 65 6e |rinted. |You then|
|000062c0| 20 6d 75 73 74 20 67 6f | 20 62 61 63 6b 20 61 6e | must go| back an|
|000062d0| 64 20 70 72 69 6e 74 20 | 74 68 65 20 6e 65 78 74 |d print |the next|
|000062e0| 20 70 6f 72 74 69 6f 6e | 20 6f 66 20 74 68 65 20 | portion| of the |
|000062f0| 64 6f 63 75 6d 65 6e 74 | 2e 20 59 6f 75 20 63 61 |document|. You ca|
|00006300| 6e 20 70 72 69 6e 74 20 | 61 6e 79 20 6e 75 6d 62 |n print |any numb|
|00006310| 65 72 20 6f 66 20 69 50 | 46 4d 61 78 50 67 73 20 |er of iP|FMaxPgs |
|00006320| 70 61 67 65 73 2c 20 70 | 72 6f 76 69 64 65 64 20 |pages, p|rovided |
|00006330| 79 6f 75 20 6f 6e 6c 79 | 20 73 65 6e 64 20 74 68 |you only| send th|
|00006340| 61 74 20 6d 61 6e 79 20 | 61 74 20 61 6e 79 20 6f |at many |at any o|
|00006350| 6e 65 20 74 69 6d 65 2e | 20 0d 54 68 65 20 6c 6f |ne time.| .The lo|
|00006360| 6f 70 20 74 68 65 6e 20 | 6f 70 65 6e 73 20 61 20 |op then |opens a |
|00006370| 70 61 67 65 20 66 6f 72 | 20 70 72 69 6e 74 69 6e |page for| printin|
|00006380| 67 20 61 6e 64 20 64 72 | 61 77 73 20 74 68 65 20 |g and dr|aws the |
|00006390| 70 61 67 65 20 69 6e 20 | 74 68 65 20 70 72 69 6e |page in |the prin|
|000063a0| 74 69 6e 67 20 67 72 61 | 66 50 6f 72 74 20 77 69 |ting gra|fPort wi|
|000063b0| 74 68 20 74 68 65 20 4d | 79 44 72 61 77 53 74 75 |th the M|yDrawStu|
|000063c0| 66 66 20 70 72 6f 63 65 | 64 75 72 65 2c 20 74 68 |ff proce|dure, th|
|000063d0| 65 20 64 65 74 61 69 6c | 73 20 6f 66 20 77 68 69 |e detail|s of whi|
|000063e0| 63 68 20 61 72 65 20 73 | 70 65 63 69 66 69 63 20 |ch are s|pecific |
|000063f0| 74 6f 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |to the a|pplicati|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.